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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    min-height: 100vh;
    padding: 15px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    padding: 25px;
}

h1 {
    color: #333;
    margin-bottom: 5px;
    font-size: 24px;
}

.subtitle {
    color: #666;
    margin-bottom: 15px;
    font-size: 13px;
}

.upload-area {
    border: 3px dashed #f4b400;
    border-radius: 15px;
    padding: 5px;
    text-align: center;
    background: #fffef5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    background: #fffbeb;
    border-color: #f9a825;
}

.upload-area.dragover {
    background: #fff9e6;
    border-color: #f9a825;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-text {
    color: #f9a825;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.upload-hint {
    color: #999;
    font-size: 14px;
}

input[type="file"] {
    display: none;
}

.file-info {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 10px;
    display: none;
}

.file-info.show { display: block; }

.file-name {
    color: #2e7d32;
    font-weight: 600;
}

.btn {
    background: linear-gradient(135deg, #ffd700 0%, #f9a825 100%);
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    display: none;
}

.btn.show { display: inline-block; }

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    color: white;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: none;
    margin-top: 20px;
    text-align: center;
}

.loading.show, .result.show { display: block; }

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result {
    margin-top: 10px;
    display: none;
}

.result-header {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
}

.result-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.result-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.result-error {
    background: #ffebee;
    color: #c62828;
}

.action-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    flex: 1;
    margin: 0;
}

.stat-card {
    background: #f8f9ff;
    padding: 12px 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Client Details Card - Full Width */
.client-details-card {
    grid-column: 1 / -1 !important;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #f9a825;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
}

.details {
    margin-top: 0;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    background: #fffef5;
    padding: 15px;
    border-radius: 10px;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-weight: 600;
    color: #f9a825;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .count {
    background: #ffd700;
    color: #333;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 14px;
}

/* Warnings count badge in tab */
.tab .count {
    background: #f44336;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 5px;
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

th {
    background: linear-gradient(135deg, #ffd700 0%, #f9a825 100%);
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
    text-align: center;
}

/* Remove padding from cells containing project tables */
td:has(.project-table) {
    padding: 5px;
}

/* Fallback for browsers that don't support :has() */
.project-cell {
    padding: 5px !important;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: #fffef5;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-pm {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.project-list {
    font-size: 12px;
    color: #666;
}

.project-item {
    display: inline-block;
    background: #fff9e6;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 2px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    background: #fffef5;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Ensure no pseudo-elements interfere */
.tabs::before,
.tabs::after {
    display: none !important;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab:hover {
    color: #f9a825;
}

.tab.active {
    color: #f9a825;
    border-bottom-color: #ffd700;
}

.tab-content {
    display: none;
    padding-top: 20px;
}

.tab-content.active {
    display: block;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-edit, .btn-delete, .btn-save-row, .btn-cancel {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: white;
    transition: background 0.2s ease;
}

.btn-edit { background: #4CAF50; }
.btn-edit:hover { background: #45a049; }

.btn-delete { background: #f44336; }
.btn-delete:hover { background: #da190b; }

.btn-save-row { background: #2196F3; }
.btn-save-row:hover { background: #0b7dda; }

.btn-cancel { background: #9E9E9E; }
.btn-cancel:hover { background: #757575; }

.editable-input {
    width: 100%;
    padding: 5px;
    border: 2px solid #ffd700;
    border-radius: 4px;
    font-size: 14px;
}

.text-muted {
    color: #999;
    font-style: italic;
}

.editing-row {
    background: #fff9e6 !important;
}

/* Team Header Styles */
.team-header {
    padding: 0;
    margin: 0;
}

.team-header-project {
    padding: 0;
    margin: 0;
}

.team-header th,
.team-header-project th {
    padding: 8px 10px !important;
    margin: 0 !important;
}

.team-name-large {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin: 0;
    padding: 0;
    text-align: left;
}

.team-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.manager-info {
    font-size: 14px;
    color: #555;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    margin: 0;
    padding: 0;
}

.team-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Badge styles for team info */
.badge-team-name {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.badge-manager-name {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

.badge-manager-code {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

/* Edit input styles */
.edit-input {
    background: white;
    border: 2px solid #ffd700;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    min-width: 80px;
}

.edit-input:focus {
    outline: none;
    border-color: #ff8f00;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

/* Editable elements in hierarchy */
.editable-team-name,
.editable-manager-name,
.editable-manager-code {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 2px 4px;
    min-width: 60px;
    display: inline-block;
    transition: all 0.2s ease;
}

.editable-team-name:hover,
.editable-manager-name:hover,
.editable-manager-code:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #ffd700;
}

.editable-team-name:focus,
.editable-manager-name:focus,
.editable-manager-code:focus {
    outline: none;
    background: white;
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.btn-edit-manager,
.btn-save-manager,
.btn-cancel-manager {
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-edit-manager {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-edit-manager:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-1px);
}

.btn-save-manager {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-save-manager:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-1px);
}

.btn-cancel-manager {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.btn-cancel-manager:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-1px);
}

/* Success notification animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Project Table Styles */
.project-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 0;
    background: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
    min-height: 60px;
}

.project-table td {
    padding: 8px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    height: 45px;
    text-align: center;
}

.project-table td:first-child {
    width: 40%;
}

.project-table td:last-child {
    width: 60%;
}

.project-table code {
    background: #f1f3f4;
    padding: 4px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: bold;
    color: #d73a49;
}

.project-table tr:last-child td {
    border-bottom: none;
}

.project-table tr:hover {
    background: #f1f3f4;
}

.text-muted {
    color: #6c757d;
    font-style: italic;
    font-size: 12px;
}

/* Editable Project Table Styles */
.project-table.editable-mode {
    margin-bottom: 8px;
}

.project-table.editable-mode td {
    padding: 2px 4px;
}

.project-table.editable-mode td:first-child {
    width: 40%;
}

.project-table.editable-mode td:nth-child(2) {
    width: 50%;
}

.project-table.editable-mode td:last-child {
    width: 10%;
    text-align: center;
}

.project-code-input,
.project-name-input {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    font-size: 11px;
    background: #ffffff;
}

.project-code-input:focus,
.project-name-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.btn-remove-project {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-remove-project:hover {
    background: #c82333;
}

.btn-add-project {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    width: 100%;
}

.btn-add-project:hover {
    background: #218838;
}

/* Charge Hand Badge Styles */
.badge-charge-hand {
    background: #ffc107;
    color: #212529;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 5px;
}

.badge-yes {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

/* Client Details Card Styles */
.client-details-card .btn-edit-client:hover {
    background: #0288d1 !important;
    border-color: #01579b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 169, 244, 0.4);
}

/* Input field focus effects */
.client-details-card input:focus {
    box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.3);
}

/* Teams Grid Layout - 3 Columns */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Responsive: 2 columns on tablets */
@media (max-width: 1200px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Card Container */
.team-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Team Table inside Card */
.team-card .team-table {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.team-card .team-table th,
.team-card .team-table td {
    font-size: 12px;
    padding: 8px;
}

/* Make team headers more compact */
.team-card .team-header,
.team-card .team-header-project {
    padding: 10px;
}

.team-card .badge {
    font-size: 11px;
    padding: 3px 8px;
}

/* Adjust action buttons for smaller cards */
.team-card .action-buttons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.team-card .btn-edit,
.team-card .btn-delete {
    font-size: 11px;
    padding: 4px 8px;
}

.btn-delete-from-team{
    padding: 8px;
    color:white;
    background-color: red;
    border-radius: 5px;
    border-color: red;
    font-weight: bold;
}

.btn-delete-from-team:hover{
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Reporting To Dropdown Styling */
.editable-dropdown {
    width: 100%;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.editable-dropdown:hover {
    border-color: #f4b400;
}

.editable-dropdown:focus {
    outline: none;
    border-color: #f9a825;
    box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.1);
}

.editable-dropdown option {
    padding: 8px;
}

/* Delete Client Section */
.delete-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-radius: 15px;
    border: 2px solid #ffcdd2;
}

.delete-container {
    max-width: 800px;
    margin: 0 auto;
}

.delete-header {
    text-align: center;
    margin-bottom: 25px;
}

.delete-header h2 {
    color: #d32f2f;
    font-size: 24px;
    margin-bottom: 8px;
}

.delete-subtitle {
    color: #666;
    font-size: 14px;
}

.delete-form {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.client-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.client-dropdown:hover {
    border-color: #d32f2f;
}

.client-dropdown:focus {
    outline: none;
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.delete-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-danger:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-icon {
    font-size: 18px;
}

.delete-info {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-text {
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}

.info-text strong {
    color: #d32f2f;
    font-weight: 700;
}

/* ============= CLIENTS DISPLAY SECTION ============= */
.clients-display-section {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.clients-header h2 {
    color: #333;
    font-size: 20px;
    margin: 0;
}

.btn-refresh {
    padding: 8px 20px;
    font-size: 14px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.btn-refresh:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
}

.clients-loading {
    text-align: center;
    padding: 40px;
}

.clients-loading .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.clients-loading p {
    color: #666;
    font-size: 14px;
}

.clients-error {
    text-align: center;
    padding: 30px;
    background: #ffebee;
    border: 2px solid #ef5350;
    border-radius: 10px;
}

.clients-error p {
    color: #c62828;
    font-size: 16px;
    font-weight: 600;
}

.clients-empty {
    text-align: center;
    padding: 40px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
}

.clients-empty p {
    color: #856404;
    font-size: 16px;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.client-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.client-card:hover {
    border-color: #ffd700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

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

.client-icon {
    font-size: 32px;
    margin-right: 10px;
}

.client-id-badge {
    background: #ffd700;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.client-name {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.client-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
}

.client-detail-item .icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.client-detail-item .label {
    font-weight: 600;
    color: #555;
}

.client-detail-item .value {
    color: #333;
}

/* Warning Modal Styles */
.warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.warning-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.warning-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px 12px 0 0;
}

.warning-modal-icon {
    font-size: 28px;
}

.warning-modal-header h3 {
    flex: 1;
    margin: 0;
    font-size: 18px;
    color: #e65100;
    font-weight: 600;
}

.warning-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.warning-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.warning-modal-body {
    padding: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.warning-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.warning-modal-footer .btn-primary {
    background: #ff9800;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.warning-modal-footer .btn-primary:hover {
    background: #f57c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}
