* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #3087C9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
}

.login-container {
    max-width: 420px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background-color: white;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

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

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

.logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logo h2 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-box {
    background: #e0ecff;
    border-left: 4px solid #84AD4A;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box i {
    font-size: 1.2rem;
    color: #3087C9;
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    color: #2d5016;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group-text {
    background-color: #f7fafc;
    border-right: none;
    color: #3087C9;
    border-color: #e2e8f0;
}

.form-control {
    border-left: none;
    border-color: #e2e8f0;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3087C9;
    box-shadow: 0 0 0 0.25rem rgba(48, 135, 201, 0.15);
    background-color: #fff;
}

.form-control::placeholder {
    color: #a0aec0;
}

.form-check-input:checked {
    background-color: #3087C9;
    border-color: #3087C9;
}

.form-check-label {
    color: #4a5568;
    font-size: 0.9rem;
}

.btn-login {
    background: #3087C9;
    border: none;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 135, 201, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 135, 201, 0.5);
    background: #84AD4A;
}

.btn-login:active {
    transform: translateY(0);
}

.input-group:focus-within .input-group-text {
    border-color: #3087C9;
    background-color: #e0ecff;
}

/* Dashboard Styles */
body.dashboard-body {
    background-color: #f0f4ff !important;
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
    padding: 0 !important;
    min-height: 100vh;
}

.header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    margin: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .user-section {
        flex-direction: column;
        width: 100%;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-section h4 {
    margin: 0;
    color: #2d3748;
    font-weight: 600;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3087C9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-name {
    font-weight: 500;
    color: #2d3748;
}

.logout-btn {
    background: #dc3545;
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    color: white;
}

.navbar {
    background: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    padding: 0;
    width: 100%;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-toggler {
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.navbar-nav .nav-item {
    margin: 0;
}

@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
    }
    
    .nav-link {
        border-bottom: 1px solid #e2e8f0;
        border-left: 3px solid transparent;
    }
    
    .nav-link.active {
        border-left-color: #84AD4A;
        border-bottom-color: #e2e8f0;
    }
}

.nav-link {
    color: #4a5568;
    font-weight: 500;
    padding: 15px 35px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #3087C9;
    background-color: #e0ecff;
}

.nav-link.active {
    color: #3087C9;
    border-bottom-color: #84AD4A;
    background-color: #e0ecff;
}

.main-content {
    padding: 30px 0;
    width: 100%;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-title {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 25px;
}

.page-title i {
    color: #3087C9;
    margin-right: 10px;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #84AD4A;
}

.review-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-in-draft {
    background: #e0ecff;
    color: #3087C9;
}

.status-submitted {
    background: #d1e7dd;
    color: #0f5132;
}

.status-reviewed {
    background: #e0ecff;
    color: #3087C9;
    border: 1px solid #84AD4A;
}

.review-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.reviewers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.reviewer-tag {
    background: #e0ecff;
    color: #3087C9;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 3px solid #84AD4A;
}

.review-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-action {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary-action {
    background: #3087C9;
    color: white;
    box-shadow: 0 4px 15px rgba(48, 135, 201, 0.4);
}

.btn-primary-action:hover {
    background: #84AD4A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 173, 74, 0.5);
}

.btn-secondary-action {
    background: #f7fafc;
    color: #3087C9;
    border: 1px solid #e2e8f0;
}

.btn-secondary-action:hover {
    background: #e0ecff;
    color: #3087C9;
    border-color: #3087C9;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state h5 {
    color: #718096;
    margin-bottom: 10px;
}

.empty-state p {
    color: #a0aec0;
}

/* Review Form Styles */
.question-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.question-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.question-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-label i {
    color: #3087C9;
    font-size: 0.9rem;
}

/* Rating Styles */
.rating-group {
    margin-top: 10px;
}

.rating-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.rating-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    background: #ffffff;
}

.rating-option:hover {
    border-color: #3087C9;
    background-color: #e0ecff;
    transform: translateY(-2px);
}

.rating-option input[type="radio"] {
    display: none;
}

.rating-option input[type="radio"]:checked + .rating-label {
    background-color: #3087C9;
    color: white;
}

.rating-option input[type="radio"]:checked ~ .rating-desc {
    color: #3087C9;
    font-weight: 600;
}

.rating-option input[type="radio"]:checked ~ .rating-desc {
    color: #84AD4A;
    font-weight: 600;
}

.rating-label {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f7fafc;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.rating-desc {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Subjective Textarea Styles */
.subjective-textarea {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.subjective-textarea:focus {
    border-color: #3087C9;
    box-shadow: 0 0 0 0.25rem rgba(48, 135, 201, 0.15);
    background-color: #fff;
}

.subjective-textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.btn-draft, .btn-submit {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
}

.btn-draft {
    background: #f7fafc;
    color: #3087C9;
    border: 2px solid #3087C9;
}

.btn-draft:hover {
    background: #e0ecff;
    color: #3087C9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 135, 201, 0.3);
}

.btn-submit {
    background: #3087C9;
    color: white;
    box-shadow: 0 4px 15px rgba(48, 135, 201, 0.4);
}

.btn-submit:hover {
    background: #84AD4A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 173, 74, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .rating-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .rating-option {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 15px;
        min-width: auto;
        width: 100%;
    }
    
    .rating-label {
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-draft, .btn-submit {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .question-label {
        font-size: 0.9rem;
    }
    
    .rating-desc {
        font-size: 0.8rem;
    }
    
    .subjective-textarea {
        font-size: 0.9rem;
        padding: 12px;
    }
}

/* Form Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
}

.rating-group.is-invalid {
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
}

.subjective-textarea.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* Fancy Toast Styles */
.fancy-toast {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    max-width: 300px;
    margin-bottom: 10px;
}

.fancy-toast:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.fancy-toast .toast-header {
    display: none;
}

.fancy-toast .toast-body {
    padding: 12px 20px;
    font-weight: 500;
    color: #333;
    text-align: center;
    position: relative;
}

.fancy-toast .toast-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fancy-toast .toast-close:hover {
    opacity: 1;
}

.fancy-toast.bg-success {
    background: rgba(40, 167, 69, 0.7); /* More transparent green */
    color: white;
}

.fancy-toast.bg-danger {
    background: rgba(220, 53, 69, 0.7); /* More transparent red */
    color: white;
}

.fancy-toast.bg-warning {
    background: rgba(255, 193, 7, 0.7); /* More transparent yellow */
    color: #333;
}

.fancy-toast.bg-info {
    background: rgba(23, 162, 184, 0.7); /* More transparent blue */
    color: white;
}

.fancy-toast.bg-primary {
    background: rgba(0, 123, 255, 0.7); /* More transparent primary blue */
    color: white;
}

.toast-container {
    transition: all 0.3s ease;
}

.toast.show {
    animation: slideInRight 0.3s ease forwards;
}

.toast.hide {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

