/* register.css - Compact Version */

/* Custom Variables */
:root {
    --soft-green: #a8d5ba;
    --soft-green-dark: #8bc4a1;
    --soft-green-light: #c1e4cf;
    --soft-green-accent: #7dbb95;
    --text-dark: #2d4a3d;
    --shadow-soft: 0 6px 25px rgba(168, 213, 186, 0.2);
    --shadow-hover: 0 10px 30px rgba(168, 213, 186, 0.3);
}

/* Global Styles */
body {
    background: linear-gradient(135deg, #f0f9f3 0%, #e0f2e7 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: auto;
    padding: 20px;
}

/* Simplified background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--soft-green-light) 0%, transparent 50%);
    opacity: 0.05;
    z-index: -1;
}

/* Compact Card */
.card {
    border: none;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(168, 213, 186, 0.3);
    transition: all 0.3s ease;
    max-width: 420px;
    margin: 0 auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Compact Logo */
.text-center mb-4 {
    margin-bottom: 1rem !important;
}

.img-fluid {
    transition: all 0.3s ease;
    height: 60px !important; /* Reduced from 80px */
}

.img-fluid:hover {
    transform: scale(1.05);
}

/* Compact Header */
.text-center h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.text-center .text-muted {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Compact Form Elements */
.mb-3 {
    margin-bottom: 1rem !important; /* Reduced spacing */
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1.5px solid #e8f5e9;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: rgba(248, 255, 249, 0.8);
}

.form-control:focus {
    border-color: var(--soft-green);
    box-shadow: 0 0 0 0.2rem rgba(168, 213, 186, 0.2);
    background: white;
}

/* Compact Terms Checkbox */
.form-check {
    background: rgba(168, 213, 186, 0.08);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(168, 213, 186, 0.15);
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 0.15rem;
}

.form-check-label {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Compact Button */
.btn-success {
    background: linear-gradient(135deg, var(--soft-green) 0%, var(--soft-green-dark) 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 213, 186, 0.4);
}

/* Compact Links */
a.small.text-decoration-none {
    font-size: 0.85rem;
}

/* Compact Alerts */
.alert {
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.alert ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.alert li {
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    body {
        padding: 10px;
        align-items: flex-start !important;
        padding-top: 40px;
    }
    
    .card {
        margin: 0;
        padding: 1.25rem;
    }
    
    .btn-success {
        width: 100%;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 15px;
    }
    
    .text-center h1 {
        font-size: 1.3rem;
    }
}

/* Remove unnecessary animations to reduce height */
.form-label::before,
.card::after,
.form-progress,
.password-strength {
    display: none;
}

/* Keep only essential animations */
.form-control:focus {
    transform: translateY(-1px);
}

.btn-success:hover {
    transform: translateY(-2px);
}

.card:hover {
    transform: translateY(-3px);
}