@import url('https://fonts.cdnfonts.com/css/gt-walsheim-trial');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background-color: #fafafa;
    font-family: 'GT Walsheim Trial', sans-serif;
}

/* ── Login form ── */
.login-form {
    width: 100%;
    max-width: 390px;
    margin: auto;
    background-color: #FCFCFC;
}

.login-form p {
    color: #474747;
    font-size: 13px;
}

.login-form span {
    font-size: 11px;
}

.login-form h1 {
    margin-top: 25px;
    font-size: 30px;
}

/* ── Register form ── */
.register-form {
    width: 100%;
    max-width: 560px;
    margin: auto;
    background-color: #FCFCFC;
}

.register-form h1 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: #0a0a0a;
    margin-bottom: 4px;
}

.register-form p {
    color: #474747;
    font-size: 13px;
}

/* ── Shared inputs ── */
.cx-label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.cx-input {
    height: 40px !important;
    border-color: #e0e0e0 !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    background-color: #fff !important;
    color: #0a0a0a !important;
    box-shadow: none !important;
}

.cx-input:focus {
    border-color: #0a0a0a !important;
    box-shadow: none !important;
}

/* ── Primary button ── */
.cx-btn-primary {
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    background: #111 !important;
    border: 1px solid #111 !important;
    border-radius: 7px;
    transition: opacity 0.15s;
}

.cx-btn-primary:hover {
    opacity: 0.8;
    color: #fff !important;
}

/* ── Nav links ── */
.cx-link {
    font-size: 14px;
    color: #6b7280;
    border-radius: 6px;
    padding: 6px 12px;
    transition: color 0.15s, background 0.15s;
}

.cx-link:hover {
    color: #0a0a0a;
    background: #f5f5f5;
}

/* ── Google button ── */
.btn-social-google {
    position: relative;
    z-index: 0;
    transition: color 0.2s ease;
}

.btn-social-google::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(90deg, #EA4335, #FBBC05, #34A853, #4285F4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.btn-social-google:hover::before {
    opacity: 1;
}

.btn-social-google:hover {
    border-color: transparent !important;
    color: #111 !important;
    background: #fff !important;
}

/* ── Clinic type cards ── */
.btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.cx-type-label {
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.15s;
    background: #fff !important;
    height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.cx-type-name {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.cx-type-desc {
    font-size: 10px;
    color: #9ca3af;
    line-height: 1.3;
}

.btn-check:checked+.cx-type-label {
    border-color: #111 !important;
    background: #f5f5f5 !important;
}

.btn-check:checked+.cx-type-label .cx-type-name {
    color: #111;
}

.btn-check:checked+.cx-type-label i {
    color: #111 !important;
}

/* ── Navbar ── */
.cx-navbar {
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    padding-top: 12px;
    padding-bottom: 12px;
}

.cx-brand {
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a !important;
    letter-spacing: -0.4px;
    text-decoration: none;
}

.cx-nav-login-mobile {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
}

.cx-mobile-btn-ghost {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    text-decoration: none;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: background 0.15s;
}

.cx-mobile-btn-ghost:hover {
    background: #f5f5f5;
}

.cx-mobile-btn-dark {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #111;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: opacity 0.15s;
}

.cx-mobile-btn-dark:hover {
    opacity: 0.8;
    color: #fff;
}

.cx-type-disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    background: #f9fafb !important;
}