/* Registration page styles */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.register-container {
    min-height: auto;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 20px;
    margin-top: 0px;
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.register-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000;
}

.register-title {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 28px;
}

.register-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

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

.form-control {
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.register-card label,
.register-card .form-check-label {
    font-size: 16px;
    line-height: 1.4;
}

.register-card .text-center p,
.register-card .text-center a {
    font-size: 14px;
    line-height: 1.4;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background-color: white;
}

.btn-register {
    background: #000;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-register:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.register-links {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.register-links p {
    margin-bottom: 10px;
    color: #666;
}

.register-links a {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .register-container {
        margin-top: 0px;
        padding: 15px;
        min-height: auto;
    }
    
    .register-card {
        margin: 0;
        padding: 25px 20px;
        max-width: 100%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .register-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .register-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn-register {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .register-container {
        margin-top: 0px;
        padding: 10px;
        min-height: auto;
    }
    
    .register-card {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .register-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .register-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
}
