﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 0px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/*Thời khóa biểu*/
.combo-box {
    width: 100%;
    padding: 8px;
    border: 1px solid #2db3e6;/* #ddd;*/
    border-radius: 4px;
}
.btn-search {
    background-color: #2db3e6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}
.btn-reset {
    background-color: #2db3e6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn-search:hover {
    background-color: #0056b3;
}
.btn-reset:hover {
    background-color: #0056b3;
}
label {
    display: inline-block;
    width: 100%;
    font-weight: bold;
}
/* ===== BASE LABEL STYLES ===== */
.label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-radius: 8px;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
    user-select: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* ===== SIZE VARIANTS ===== */
.label-sm {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.label-lg {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 10px;
    letter-spacing: 0.7px;
}

.label-xl {
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 12px;
    letter-spacing: 0.8px;
}

/* ===== COLOR VARIANTS ===== */
/* Primary - Blue */
.label-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #1e40af;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .label-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

/* Success - Green */
.label-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #047857;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .label-success:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

/* Warning - Orange */
.label-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #b45309;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .label-warning:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

/* Danger - Red */
.label-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}
    /* CSS cho GridView với thanh cuộn */
    .gridview-container {
    width: 100%;
    margin-top: 20px;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.gridview {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px; /* Đảm bảo GridView đủ rộng để hiển thị tất cả cột */
}
    .gridview th {
        background-color:Highlight;
        color: white;
        padding: 12px 8px;
        text-align: left;
        /*position: sticky;*/
        top: 0;
        border: 1px solid #0056b3;
    }
    .gridview td {
        padding: 10px 8px;
        border: 1px solid #ddd;
        white-space: nowrap; /* Ngăn chữ xuống dòng */
        color: black;
    }
    .gridview tr:nth-child(even) {
        background-color: #f8f9fa;
    }
    .gridview tr:hover {
        background-color: #e9ecef;
    }
.no-data {
    text-align: center;
    color: red;
    font-style: italic;
    padding: 20px;
}
.filter-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.pager-style {
    margin-top: 10px;
    text-align: center;
    padding: 10px;
}
    .pager-style table {
        margin: 0 auto;
    }
    /* Tùy chỉnh phân trang */
    .pager-style td {
        padding: 5px;
    }
    .pager-style a {
        padding: 5px 10px;
        border: 1px solid #007bff;
        border-radius: 3px;
        text-decoration: none;
        color: #007bff;
        margin: 0 2px;
    }
    .pager-style a:hover {
            background-color: #007bff;
            color: white;
        }
    .pager-style span {
        padding: 5px 10px;
        border: 1px solid #007bff;
        border-radius: 3px;
        background-color: #007bff;
        color: white;
        margin: 0 2px;
    }
.file-upload {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}
.btn-upload {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
    .btn-upload:hover {
        background-color: #45a049;
    }
.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}
.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}
.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}
.preview {
    margin-top: 15px;
    max-width: 300px;
}
    .preview img {
        max-width: 100%;
        height: auto;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
.registration-guide {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.process-steps {
    margin-left: 15px;
}
    .process-steps strong {
        min-width: 100px;
    }
/* Tab Control Styles */
.tab-container {
    width: 1200px;
    max-width: 100%;
    margin: 20px auto;
}
.tab-buttons {
    display: flex;
    border-bottom: 2px solid #ddd;
}
.tab-button {
    padding: 12px 24px;
    background: #ccc; /* #f5f5f5;*/
    border: none;
    border-right: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    
}
    .tab-button:hover {
        background: #e9e9e9;
    }
    .tab-button.active {
        background: #007bff;
        color: white;
        border-bottom: 2px solid #007bff;
    }
.tab-content {
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
    background: white;
}
.tab-panel {
    display: none;
}
    .tab-panel.active {
        display: block;
    }

.tieude {
    position: relative;
    padding: 16px 20px;
    margin: 16px 0;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: red;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 12px rgba(0, 0, 0, 0.1), 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.qr-code {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: white;
    max-width: 300px;
}

.bank-info {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
}

.bank-info-textbox {
    font-family: Arial, sans-serif;
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 8px;
    background-color: #f9f9f9;
}