body {
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f5f5f7 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.login-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-wrapper,
.register-wrapper {
    width: 100%;
    max-width: 440px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.dym-logo-circle {
    width: 80px;
    height: 80px;
    background: #d2d2d7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    font-weight: 700;
}

.login-heading {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-subheading,
.register-subheading {
    font-size: 17px;
    color: #86868b;
    margin-bottom: 48px;
}

.register-subheading {
    margin-bottom: 32px;
}

.input-group {
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group:focus-within {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    font-size: 17px;
    outline: none;
    background: transparent;
    color: #1d1d1f;
    box-sizing: border-box;
}

.input-group .separator {
    height: 1px;
    background: #d2d2d7;
    margin: 0 20px;
}

/* Register */
.input-row {
    display: flex;
    border-bottom: 1px solid #d2d2d7;
}

.input-row input {
    width: 50%;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.input-row input:first-child {
    border-right: 1px solid #d2d2d7;
}

.full-input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid #d2d2d7;
    font-size: 16px;
    outline: none;
    background: transparent;
    box-sizing: border-box;
}

.full-input:last-child {
    border-bottom: none;
}

.btn-submit-circle {
    width: 52px;
    height: 52px;
    background: #d2d2d7;
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 20px auto 32px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px;
    opacity: 0;
    transform: scale(0.8);
}

.btn-submit-circle.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.btn-submit-circle:hover {
    transform: scale(1.05);
    background: #86868b;
}

.auth-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: #0066cc;
}

.auth-footer a {
    text-decoration: none;
    color: inherit;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    text-align: left;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

::placeholder {
    color: #c1c1c6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
