:root{
    --primary-color:#4361ee;
    --secondary-color:#3a0ca3;
    --success-color:#4cc9f0;
    --light-bg:#f8f9fa;
    --card-shadow:0 4px 12px rgba(0, 0, 0, 0.08);
}
html,
body{
    background-color:#f5f7fb;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:#333;
    padding-bottom:40px;
    overflow:auto;
}
html,
body{
    scrollbar-width:none;
}
html,
body{
    -ms-overflow-style:none;
}
::-webkit-scrollbar{
    width:0px;
    height:0px;
}

::-webkit-scrollbar-track{
    background:transparent;
}

::-webkit-scrollbar-thumb{
    background:rgba(0, 0, 0, 0.1);
    border-radius:4px;
}

::-webkit-scrollbar-thumb:hover{
    background:rgba(0, 0, 0, 0.2);
}
.header{
    background:transparent;
    color:#1a1a1a;
    padding:2.5rem 0 2rem 0;
    margin-bottom:1.5rem;
}

.header h1{
    font-weight:700;
    margin-bottom:0.5rem;
    color:#2d3748;
    font-size:2.5rem;
}

.header p{
    opacity:0.7;
    font-size:1.1rem;
    color:#6c757d;
}

.main-container{
    max-width:1000px;
}

.issue-card{
    background-color:white;
    border-radius:12px;
    box-shadow:var(--card-shadow);
    margin-bottom:1.5rem;
    overflow:hidden;
    transition:all 0.3s ease;
    border:1px solid rgba(0, 0, 0, 0.05);
}

.issue-card:hover{
    box-shadow:0 6px 18px rgba(0, 0, 0, 0.1);
}

.issue-header{
    background-color:var(--light-bg);
    padding:1rem 1.5rem;
    border-bottom:1px solid rgba(0, 0, 0, 0.05);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.issue-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    background-color:var(--primary-color);
    color:white;
    border-radius:50%;
    font-weight:600;
    font-size:0.9rem;
    margin-right:8px;
}

.issue-content{
    padding:1.5rem;
}

.form-control,
.form-select{
    border-radius:8px;
    padding:0.75rem 1rem;
    border:1px solid #ddd;
    transition:all 0.3s;
}

.form-control:focus,
.form-select:focus{
    border-color:var(--primary-color);
    box-shadow:0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

.image-upload-area{
    border:2px dashed #c0c0c0;
    border-radius:10px;
    padding:1.5rem;
    text-align:center;
    cursor:pointer;
    transition:all 0.3s;
    background-color:#fafafa;
}

.image-upload-area:hover,
.image-upload-area.dragover{
    border-color:var(--primary-color);
    background-color:rgba(67, 97, 238, 0.05);
}

.upload-icon{
    font-size:3rem;
    color:var(--primary-color);
    margin-bottom:1rem;
}

.image-preview-container{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:1rem;
}

.image-preview{
    position:relative;
    width:120px;
    height:120px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 3px 6px rgba(0, 0, 0, 0.1);
}

.image-preview img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.image-preview .remove-image{
    position:absolute;
    top:5px;
    right:5px;
    background-color:rgba(0, 0, 0, 0.5);
    color:white;
    width:24px;
    height:24px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all 0.2s;
}

.image-preview .remove-image:hover{
    background-color:rgba(220, 53, 69, 0.9);
}

.btn-add-issue{
    background-color:#f0f2ff;
    color:var(--primary-color);
    border:2px dashed var(--primary-color);
    border-radius:10px;
    padding:1rem 1.5rem;
    font-weight:600;
    width:100%;
    transition:all 0.3s;
    margin-bottom:1.5rem;
}

.btn-add-issue:hover{
    background-color:#e6e9ff;
    transform:translateY(-2px);
}

.btn-submit{
    background-color:var(--primary-color);
    border-color:var(--primary-color);
    padding:0.875rem 2rem;
    font-weight:600;
    border-radius:10px;
    width:100%;
    transition:all 0.3s;
}

.btn-submit:hover{
    background-color:var(--secondary-color);
    border-color:var(--secondary-color);
    transform:translateY(-2px);
}

.btn-remove-issue{
    background-color:transparent;
    color:#dc3545;
    border:1px solid #dc3545;
    border-radius:6px;
    padding:0.375rem 0.75rem;
    transition:all 0.2s;
}

.btn-remove-issue:hover{
    background-color:#dc3545;
    color:white;
}
.toast-container{
    position:fixed;
    top:20px;
    right:20px;
    z-index:9999;
}

.toast{
    width:320px;
    margin-bottom:10px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-success .toast-header{
    background-color:#d1e7dd;
    color:#0f5132;
}

.toast-warning .toast-header{
    background-color:#fff3cd;
    color:#856404;
}

.toast-danger .toast-header{
    background-color:#f8d7da;
    color:#721c24;
}

.toast-info .toast-header{
    background-color:#d1ecf1;
    color:#0c5460;
}

.data-preview{
    background-color:#f8f9fa;
    border-radius:10px;
    padding:1.5rem;
    margin-top:2rem;
    display:none;
}

.data-preview pre{
    background-color:#2d3748;
    color:#e2e8f0;
    padding:1rem;
    border-radius:8px;
    max-height:300px;
    overflow-y:auto;
    font-size:0.9rem;
}

.footer{
    text-align:center;
    margin-top:2.5rem;
    color:#6c757d;
    font-size:0.9rem;
}

.file-size-info{
    font-size:0.85rem;
    color:#6c757d;
    margin-top:0.5rem;
}

.validation-summary{
    background-color:#fff3cd;
    border-left:4px solid #ffc107;
    padding:1rem;
    border-radius:0 8px 8px 0;
    margin-bottom:1.5rem;
}

.loading-spinner{
    display:none;
    text-align:center;
    margin:1rem 0;
}

.spinner-border{
    width:2rem;
    height:2rem;
}
.reward-modal{
    --primary-color:#4361ee;
    --secondary-color:#3a56d4;
    --light-bg:#f8f9fa;
    --card-shadow:0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow:0 15px 40px rgba(67, 97, 238, 0.12);
    --border-radius-lg:16px;
    --border-radius-md:12px;
    --border-radius-sm:8px;
}

.reward-modal .modal-dialog{
    max-width:520px;
}

.reward-modal .modal-content{
    border:none;
    border-radius:var(--border-radius-lg);
    box-shadow:var(--card-shadow);
    overflow:hidden;
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform:translateY(0);
}

.reward-modal .modal-content:hover{
    box-shadow:var(--hover-shadow);
    transform:translateY(-2px);
}

.reward-modal .modal-header{
    background:linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    border-bottom:1px solid rgba(0, 0, 0, 0.05);
    padding:1.5rem 1.75rem;
    position:relative;
}

.reward-modal .modal-header::after{
    content:'';
    position:absolute;
    bottom:0;
    left:1.75rem;
    right:1.75rem;
    height:1px;
    background:linear-gradient(90deg,
            rgba(67, 97, 238, 0.1) 0%,
            rgba(67, 97, 238, 0.3) 50%,
            rgba(67, 97, 238, 0.1) 100%);
}

.reward-modal .modal-title{
    font-weight:700;
    font-size:1.25rem;
    color:#1a1a1a;
    letter-spacing:-0.01em;
    margin:0;
}

.reward-modal .btn-close{
    padding:0.5rem;
    background-size:0.9rem;
    opacity:0.6;
    transition:all 0.2s ease;
}

.reward-modal .btn-close:hover{
    opacity:1;
    transform:rotate(90deg);
}

.reward-modal .modal-body{
    padding:2rem 1.75rem;
}

.reward-modal .form-control{
    border-radius:var(--border-radius-md);
    padding:1rem 1.25rem;
    border:2px solid #eef2f7;
    background:#fcfdfe;
    font-size:15px;
    color:#1a1a1a;
    transition:all 0.3s ease;
    box-shadow:0 2px 6px rgba(0, 0, 0, 0.02);
}

.reward-modal .form-control::placeholder{
    color:#a0aec0;
    font-weight:400;
}

.reward-modal .form-control:focus{
    border-color:var(--primary-color);
    box-shadow:0 0 0 4px rgba(67, 97, 238, 0.12);
    background:#fff;
    transform:translateY(-1px);
}

.reward-modal .text-muted{
    display:block;
    margin-top:1rem;
    padding:1rem 1.25rem;
    background:linear-gradient(135deg, rgba(67, 97, 238, 0.04) 0%, rgba(67, 97, 238, 0.08) 100%);
    border:1px solid rgba(67, 97, 238, 0.12);
    border-radius:var(--border-radius-sm);
    font-size:13.5px;
    line-height:1.5;
    color:#5f6b7a;
    position:relative;
    overflow:hidden;
}

.reward-modal .text-muted::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:3px;
    height:100%;
    background:linear-gradient(to bottom, var(--primary-color), #7c9eff);
}

.reward-modal .modal-footer{
    padding:1.25rem 1.75rem;
    border-top:1px solid rgba(0, 0, 0, 0.05);
    background:rgba(248, 249, 250, 0.6);
    justify-content:flex-end;
    gap:12px;
}

.reward-modal .btn-submit-outline{
    background:transparent;
    color:var(--primary-color);
    border:2px solid var(--primary-color);
    border-radius:10px;
    padding:0.8rem 1.8rem;
    font-weight:600;
    font-size:15px;
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width:100px;
    letter-spacing:0.01em;
}

.reward-modal .btn-submit-outline:hover{
    background:var(--primary-color);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(67, 97, 238, 0.2);
}

.reward-modal .btn-reward-confirm{
    background:linear-gradient(135deg, var(--primary-color) 0%, #5a7cff 100%);
    border:none;
    color:#fff !important;
    border-radius:10px;
    padding:0.8rem 1.8rem;
    font-weight:600;
    font-size:15px;
    min-width:120px;
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:0 4px 12px rgba(67, 97, 238, 0.2);
    letter-spacing:0.01em;
    position:relative;
    overflow:hidden;
}

.reward-modal .btn-reward-confirm::before{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition:left 0.6s ease;
}

.reward-modal .btn-reward-confirm:hover{
    background:linear-gradient(135deg, var(--secondary-color) 0%, #4a6cff 100%);
    transform:translateY(-1px);
    box-shadow:0 6px 20px rgba(67, 97, 238, 0.3);
}

.reward-modal .btn-reward-confirm:hover::before{
    left:100%;
}

.reward-modal.fade .modal-content{
    transform:translateY(20px) scale(0.95);
    opacity:0;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reward-modal.show .modal-content{
    transform:translateY(0) scale(1);
    opacity:1;
}

.reward-modal .btn-submit-outline,
.reward-modal .btn-reward-confirm{
    box-sizing:border-box;
    height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
}

@media (max-width: 576px){
    .reward-modal .modal-dialog{
        margin:1rem;
    }

    .reward-modal .modal-content{
        border-radius:var(--border-radius-md);
    }

    .reward-modal .modal-header,
    .reward-modal .modal-body,
    .reward-modal .modal-footer{
        padding-left:1.5rem;
        padding-right:1.5rem;
    }

    .reward-modal .modal-footer{
        flex-direction:column;
    }

    .reward-modal .btn-submit-outline,
    .reward-modal .btn-reward-confirm{
        width:100%;
    }

}

@media (max-width: 768px){
    .header{
        padding:2rem 0 1.5rem 0;
    }

    .header h1{
        font-size:2rem;
    }

    .issue-content{
        padding:1.25rem;
    }

    .toast-container{
        right:10px;
        left:10px;
    }

    .toast{
        width:100%;
    }
}

