/* Card Styles */
.hover-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Rating System */
.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
}

.rating-input {
    display: none;
}

.star-label {
    color: #e4e4e4;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.rating-input:checked ~ .star-label {
    color: #ffc107;
}

.star-label:hover,
.star-label:hover ~ .star-label {
    color: #ffc107;
}

/* Card Header */
.card-header {
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Form Elements */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none;
}

/* Alert Styling */
.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.table td {
    vertical-align: middle;
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

.btn-outline-primary {
    border-width: 1.5px;
}

@media (max-width: 768px) {
    .table-responsive {
        border-radius: 0.5rem;
    }
}

/* Custom Button Styles */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* Textarea Styles */
textarea.form-control {
    resize: none;
    padding: 1rem;
    font-size: 1rem;
}

/* Password Reset Page Styles */
.simple-header {
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.simple-header h1 {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.simple-header p {
    color: #6c757d;
    font-size: 1rem;
}

.password-reset-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.reset-icon-wrapper {
    text-align: center;
}

.reset-icon {
    width: 64px;
    height: 64px;
    background: #f8f9fa;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.reset-icon i {
    font-size: 1.5rem;
    color: #0d6efd;
}

.phone-input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
}

.custom-input {
    height: 3.5rem;
    padding-left: 3rem !important;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.custom-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

.btn-user {
    height: 3.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.75rem;
}

.back-to-login {
    color: #6c757d;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-to-login:hover {
    color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .simple-header {
        padding: 1.5rem 0;
    }

    .password-reset-card {
        margin: 1rem auto;
    }

    .reset-icon {
        width: 56px;
        height: 56px;
    }

    .reset-icon i {
        font-size: 1.25rem;
    }
}

/* Common Background Gradient */
.bg-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Verification Code Page Styles */
.verification-header,
.new-password-header {
    margin-bottom: 2rem;
}

.verification-header h1,
.new-password-header h1 {
    color: #2d3436;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.verification-card,
.new-password-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.verification-card:hover,
.new-password-card:hover {
    transform: translateY(-5px);
}

.verification-icon-wrapper,
.new-password-icon-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.verification-icon,
.new-password-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.verification-icon i,
.new-password-icon i {
    font-size: 2rem;
    color: white;
}

/* Pulse animation for verification icon */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(75, 108, 183, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(75, 108, 183, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(75, 108, 183, 0);
    }
}

/* Input Styles */
.verification-input,
.password-input {
    height: 3.5rem;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5rem;
    font-weight: 600;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Adds spacing between the logo and text */
    margin-left: 0;
}

.logo-image {
    max-height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.0rem;
    font-weight: bold;
    color: white;
}

/* Fix Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    width: 250px; /* Adjust width as needed */
    z-index: 1030;
}

/* Adjust content wrapper */
#content-wrapper {
    margin-left: 250px; /* Match sidebar width */
    margin-top: 7px;
}

/* Fix top navigation bar */
.navbar {
    position: fixed;
    top: 0;
    left: 250px; /* Match sidebar width */
    right: 0;
    z-index: 1030;
}
