/* Small custom overrides layered on top of the ported Doccure frontend theme. */

.patient-name-link {
    color: #09c795;
    font-weight: 600;
}

.patient-name-link:hover,
.patient-name-link:focus {
    color: #09dca4;
    text-decoration: underline;
}

.doctor-name-link {
    color: #09c795;
    font-weight: 600;
}

.doctor-name-link:hover,
.doctor-name-link:focus {
    color: #09dca4;
    text-decoration: underline;
}

/* Patient profile card — quick-info chips + payment summary */
.patient-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eef0f4;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fb;
    border-radius: 8px;
    padding: 10px 16px;
    flex: 1 1 200px;
}

.quick-info-item i {
    color: #09c795;
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.quick-info-item > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.quick-info-label {
    font-size: 11px;
    color: #8a94a6;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.quick-info-value {
    font-weight: 600;
    color: #2E3842;
    overflow-wrap: break-word;
}

.payment-info-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a94a6;
    margin: 24px 0 12px;
}

.payment-summary-box {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 16px;
    height: 100%;
}

.payment-summary-title {
    font-size: 13px;
    font-weight: 700;
    color: #2E3842;
    margin-bottom: 10px;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eef0f4;
    font-size: 14px;
}

.payment-summary-row:last-child {
    border-bottom: none;
}

/* On mobile, the doctor/patient dashboard's inline link list is redundant
   with the same links already in the hamburger (#mobile_btn) menu — hide it
   so the page doesn't push widgets/content below the fold. Desktop keeps it
   as the permanent left sidebar. */
@media (max-width: 991.98px) {
    .dashboard-widget {
        display: none;
    }
}

/* Home hero — dark dental-tech look: glow backdrop + a glowing tooth icon
   ring (original CSS/icon-font artwork, not a copied stock image). */
.section-search-dental {
    background-color: #0b1b2e;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(9, 229, 171, 0.18), transparent 45%),
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: auto, 26px 26px;
    background-repeat: no-repeat, repeat;
    overflow: hidden;
}

.section-search-dental .banner-header h1,
.section-search-dental .banner-header p,
.section-search-dental .search-box .form-text {
    color: #ffffff;
}

.section-search-dental .banner-header p,
.section-search-dental .search-box .form-text {
    color: rgba(255, 255, 255, 0.72);
}

.dental-hero-graphic {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.dental-hero-ring {
    position: absolute;
    inset: 8%;
    border: 1px dashed rgba(9, 229, 171, 0.45);
    border-radius: 50%;
}

.dental-hero-ring::before {
    content: "";
    position: absolute;
    inset: 16%;
    border: 1px solid rgba(9, 229, 171, 0.18);
    border-radius: 50%;
}

.dental-hero-tooth {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    color: #09e5ab;
    filter: drop-shadow(0 0 16px rgba(9, 229, 171, 0.85)) drop-shadow(0 0 36px rgba(9, 229, 171, 0.45));
}

.dental-hero-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    border: 1px solid rgba(9, 229, 171, 0.5);
    background: rgba(11, 27, 46, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #09e5ab;
    font-size: 22px;
    box-shadow: 0 0 16px rgba(9, 229, 171, 0.35);
}

.dental-hero-icon-1 { top: 8%; left: 50%; }
.dental-hero-icon-2 { top: 29%; left: 86.4%; }
.dental-hero-icon-3 { top: 71%; left: 86.4%; }
.dental-hero-icon-4 { top: 92%; left: 50%; }
.dental-hero-icon-5 { top: 71%; left: 13.6%; }
.dental-hero-icon-6 { top: 29%; left: 13.6%; }

/* Login/Register — same dark dental-tech background as the home hero
   (.section-search-dental), behind the form card. */
.account-hero-bg {
    position: relative;
    background-color: #0b1b2e;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(9, 229, 171, 0.18), transparent 45%),
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: auto, 26px 26px;
    background-repeat: no-repeat, repeat;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.account-hero-bg .login-right {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
