.user-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.dashboard-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
}

.card-content {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}

.user-name {
    font-weight: 700;
    color: #2d3748;
}

.logout-link {
    color: #4299e1;
    text-decoration: underline;
    text-decoration-color: rgba(66, 153, 225, 0.5);
    transition: all 0.2s ease;
}

.logout-link:hover {
    color: #3182ce;
    text-decoration-color: #3182ce;
}

.credit-count {
    display: inline-block;
    background: rgba(152, 193, 217, 0.22);
    color: #3a67b5;
    padding: 6px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    border: 1px solid #3a67b5;
}

.trial-notice {
    background: rgba(152, 193, 217, 0.22);
    color: #3a67b5;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid #3182ce;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bookings-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #4299e1;
    transition: all 0.2s ease;
}

.booking-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-content {
    flex-grow: 1;
}

.booking-date {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.booking-duration {
    color: #3a67b5;
    font-size: 14px;
}

.booking-link {
    margin-top: 4px;
}

.delete-google-event span.material-icons {
    color: #3a67b5 !important;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.delete-google-event span.material-icons:hover {
    color: #BD002F;
}



.no-bookings {
    text-align: center;
    color: #a0aec0;
    font-style: italic;
    padding: 40px 20px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
}

.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid #e53e3e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.material-icons {
	color:#3a67b5;
    font-size: 20px;
    vertical-align: middle;
}

/* Centrer le bouton */
#buy-button {
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Évite qu'il s'étende */
#buy-button a.stk-button {  
  display: inline-block;
  width: auto;
  max-width: 100%;
}

#scroll-to-calendar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%; /* optionnel si tu veux qu’il prenne la hauteur de son contenu */
    text-align: center;
    padding: 0.75em 1em; /* ou adapte selon ton design */
    box-sizing: border-box;
}

/* Hover : couleur de fond = couleur des liens actifs du thème */
#buy-button a.stk-button:hover {
  background-color: #e53e3e;/*var(--ct-them, #3498db); /* couleur par défaut de secours */
  color: #fff !important;
}

@media (max-width: 768px) {
    .dashboard-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .user-dashboard {
        padding: 16px;
    }
    
    .dashboard-card, .bookings-section {
        padding: 20px;
    }
}