/* style.css - Modern Authentication UI for Laravel */

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.navbar {
    display: none;
}

/* Container & Row */
.container {
    width: 500px;
    margin: 0 auto;
}

.row.justify-content-center {
    margin: 0;
}

/* Card */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

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

.card-header {
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 1rem 0.5rem;
    color: #333;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 1rem;
}

/* Form Labels */
.col-form-label {
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
}

/* Form Controls */
.form-control {
    border-radius: 5px;
    border: 1.5px solid #e9e9e9;
    margin: 0.3rem 0 0.8rem 0;
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
    width: 100%;
}

.form-control:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
    background-color: #fff;
    outline: none;
}

/* Select Input (for role in register) */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

/* Invalid Feedback */
.invalid-feedback {
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 0.4rem;
    font-weight: 400;
}

/* Checkbox (Remember Me) */
.form-check {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 4px;
    border: 2px solid #d0d0d0;
    transition: all 0.2s;
    cursor: pointer;
    margin-right: 0.5rem;
}

.form-check-input:checked {
    background-color: #6c63ff;
    border-color: #6c63ff;
}

.form-check-label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6c63ff, #4a42d4);
    border: none;
    border-radius: 5px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
    width: 100%;
    margin-top: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    background: linear-gradient(135deg, #5a52d4, #3a32b4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.btn-link {
    color: #6c63ff;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: block;
    text-align: center;
    padding-top: 1rem;
}

.btn-link:hover {
    color: #4a42d4;
    text-decoration: underline;
}

/* Forgot Password Link */
.row.mb-0 .btn-link {
    margin-top: 0;
    padding: 0;
}

/* Alert (for verification page) */
.alert-success {
    border-radius: 12px;
    background-color: #d4edda;
    border: none;
    color: #155724;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Verification page form inline */
.form-inline {
    display: inline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
    
    .card-header {
        font-size: 1.5rem;
        padding: 1.5rem 1rem 0.5rem;
    }
    
    .col-md-6.offset-md-4 {
        margin-left: 0;
        text-align: center;
    }
    
    .btn-primary {
        padding: 0.7rem 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .card-header {
        font-size: 1.3rem;
    }
    
    .form-control {
        font-size: 0.9rem;
    }
}