/* auth-v2.css - Paper Dashboard Aligned Design */

:root {
    --primary-color: #68B3C8;
    --bg-color: #f4f3ef;
    --card-bg: #ffffff;
    --text-main: #66615b;
    --text-muted: #9a9a9a;
    --success-color: #7ac29a;
    --danger-color: #eb5e28;
    --warning-color: #f3bb45;
    --info-color: #68b3c8;
    --border-radius: 6px; /* Paper Dashboard uses smaller radius */
    --shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Muli', 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.5s ease-out;
}

.register-page-container {
    max-width: 850px !important;
}

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

.auth-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    border: 1px solid #f1eae0;
}

.logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.logo-section img {
    max-width: 160px;
    height: auto;
}

.auth-title {
    font-size: 22px;
    font-weight: 300; /* Paper Dashboard style */
    color: var(--text-main);
    margin-bottom: 10px;
    text-align: center;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    font-size: 14px;
    color: #66615b;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.btn-auth {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 20px; /* Rounded buttons like Paper Dashboard */
    background-color: transparent;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

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

.btn-register-highlight {
    border-color: var(--danger-color);
    color: var(--danger-color);
    margin-top: 15px;
}

.btn-register-highlight:hover {
    background-color: var(--danger-color);
    color: #fff;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #ccc;
    font-size: 12px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider:not(:empty)::before { margin-right: 1em; }
.divider:not(:empty)::after { margin-left: 1em; }

/* Registration Grid */
.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .register-grid {
        grid-template-columns: 1fr;
    }
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
    text-transform: uppercase;
}

.features-section {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-item {
    flex: 1;
    min-width: 180px;
    background: #fff;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--text-main);
    text-align: center;
    border: 1px solid #f1eae0;
}

.feature-item i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    color: var(--primary-color);
}

.feature-item h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}

.feature-item p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* Flash Alerts - Paper Dashboard Style */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    color: #fff;
    position: relative;
    border: none;
}

.alert-danger { background-color: var(--danger-color); }
.alert-success { background-color: var(--success-color); }
.alert-info { background-color: var(--info-color); }
.alert-warning { background-color: var(--warning-color); }

.alert ul { margin: 0; padding-left: 20px; }

/* Image Dropdown adjustments */
.dd .ddTitle {
    background: #fff !important;
    border-radius: 4px !important;
}
