/* =========================
   REGISTER PAGE ONLY
========================= */
* {
    box-sizing: border-box;
}

:root {
    --bg-page: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #0f172a;
    --border: #475569;
    --border-soft: #334155;
    --text-main: #ffffff;
    --text-soft: #94a3b8;
    --text-label: #cbd5e1;
    --primary: #10b981;
    --primary-hover: #059669;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg-page);
    color: var(--text-main);
    font-family: Arial, Helvetica, sans-serif;
}

/* Wrapper halaman register */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* Card register */
.auth-card {
    width: 100%;
    max-width: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #34d399;
}

.auth-subtitle {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.5;
}

/* Form */
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 6px;
    color: var(--text-label);
    font-size: 14px;
    font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #64748b;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
}

.form-select {
    cursor: pointer;
}

.form-select:disabled,
.form-input:disabled,
.form-textarea:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Button */
.btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
    background: var(--primary-hover);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Footer register */
.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-soft);
    margin-top: 22px;
}

.auth-footer a {
    color: #34d399;
    text-decoration: none;
    font-weight: 600;
}

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

/* Utility */
.hidden {
    display: none !important;
}

/* Alert jika nanti dipakai */
.alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #d1fae5;
}

/* Responsive */
@media (max-width: 600px) {
    .auth-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-subtitle {
        font-size: 13px;
    }
}