/* Bundle: css */
/* Generated: 2025-12-12 08:18:02 */
/* Files: css/admin-dashboard.css */

/* ================================================== */
/* File: css/admin-dashboard.css */
/* ================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgb(168, 213, 186) 0%, rgb(120, 180, 150) 100%);
    min-height: 100vh;
    overflow: hidden;
}

.dashboard-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header Styles */
.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.5rem;
    color: rgb(168, 213, 186);
}

.logo h1 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.header-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgb(168, 213, 186);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-control:hover {
    background: rgb(120, 180, 150);
    transform: translateY(-1px);
}

.btn-control.active {
    background: rgb(120, 180, 150);
}

/* Navigation Styles */
.dashboard-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-tabs {
    display: flex;
    gap: 1rem;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 0.95rem;
}

.nav-tab:hover {
    color: rgb(168, 213, 186);
    background: rgba(168, 213, 186, 0.1);
}

.nav-tab.active {
    color: rgb(168, 213, 186);
    border-bottom-color: rgb(168, 213, 186);
    background: rgba(168, 213, 186, 0.1);
}

.nav-tab i {
    font-size: 1.1rem;
}

/* External Links Styles */
.external-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.external-links-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.external-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 213, 186, 0.1);
    color: rgb(120, 180, 150);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(168, 213, 186, 0.2);
}

.external-link:hover {
    background: rgb(120, 180, 150);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 213, 186, 0.3);
}

.external-link i {
    font-size: 1rem;
}

/* Main Content Styles */
.dashboard-main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.view-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.view-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Single View Styles */
#singleView {
    padding: 2rem;
}

.iframe-container {
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.iframe-container.hidden {
    display: none;
}

.iframe-header {
    background: linear-gradient(135deg, rgb(168, 213, 186), rgb(120, 180, 150));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iframe-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.iframe-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-reload, .btn-external {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reload:hover, .btn-external:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-external {
    background: rgba(255, 255, 255, 0.15);
}

.btn-external:hover {
    background: rgba(255, 255, 255, 0.25);
}

iframe {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
    background: white;
}

/* Multi View Styles */
.multi-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    height: 100%;
}

/* 4 Panels - 2x2 Grid Layout */
.multi-view-grid .resizable-panel:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.multi-view-grid .resizable-panel:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.multi-view-grid .resizable-panel:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.multi-view-grid .resizable-panel:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.resizable-panel {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 200px;
}

.resizable-panel.collapsed .panel-content {
    display: none;
}

.resizable-panel.collapsed {
    min-height: auto;
    height: auto;
}

.panel-header {
    background: linear-gradient(135deg, rgb(168, 213, 186), rgb(120, 180, 150));
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.panel-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.panel-controls {
    display: flex;
    gap: 0.25rem;
}

.btn-toggle, .panel-controls .btn-reload, .panel-controls .btn-external {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.btn-toggle:hover, .panel-controls .btn-reload:hover, .panel-controls .btn-external:hover {
    background: rgba(255, 255, 255, 0.3);
}

.panel-content {
    height: calc(100% - 45px);
    position: relative;
}

.panel-content iframe {
    height: 100%;
}

.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgb(168, 213, 186), rgb(120, 180, 150));
    cursor: nw-resize;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.resize-handle:hover {
    opacity: 1;
}

.resize-handle::before {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.8);
}

.resize-handle::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.8);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(168, 213, 186, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading-spinner p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-header {
        padding: 1rem;
    }
    
    .dashboard-nav {
        padding: 0 1rem;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    #singleView {
        padding: 1rem;
    }
    
    .multi-view-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .multi-view-grid .resizable-panel:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .multi-view-grid .resizable-panel:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .multi-view-grid .resizable-panel:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .multi-view-grid .resizable-panel:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
    }
}

@media (max-width: 768px) {
    .header-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-control {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .dashboard-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-tabs {
        justify-content: center;
    }
    
    .nav-tab span {
        display: none;
    }
    
    .external-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .external-links-label {
        display: none;
    }
    
    .external-link span {
        display: none;
    }
    
    .iframe-header h3 span {
        display: none;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgb(168, 213, 186);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(120, 180, 150);
}

/* Login Styles */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, rgb(168, 213, 186) 0%, rgb(120, 180, 150) 100%);
    padding: 2rem;
}

.login-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.login-header {
    margin-bottom: 2rem;
}

.login-header i {
    font-size: 3rem;
    color: rgb(168, 213, 186);
    margin-bottom: 1rem;
}

.login-header h1 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 1rem;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c66;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: rgb(168, 213, 186);
    box-shadow: 0 0 0 3px rgba(168, 213, 186, 0.1);
}

.btn-login {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgb(168, 213, 186), rgb(120, 180, 150));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 213, 186, 0.3);
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
    color: #666;
}

.login-footer small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Session Info */
.session-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.btn-logout {
    background: #dc3545 !important;
    text-decoration: none;
}

.btn-logout:hover {
    background: #c82333 !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

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

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

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

/* Mobile Login */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-form {
        padding: 2rem;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .login-header i {
        font-size: 2.5rem;
    }
}


