@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Space+Grotesk:wght@300..700&display=swap');

:root {
    --margins: 120px;
    --wrapper-width: 1300px;
    --border-radius: 4px;
    
    --primary: #8c52ff;
    --primary-hsl: 270, 70%, 60%;
    --primary-transparent: rgb(140, 82, 255, 0.125);
    --background: #111;
    --text: white;
    --text-muted: rgb(180, 180, 180);
    --border-color: rgb(255, 255, 255, 0.1);
    --border-color-light: rgb(255, 255, 255, 0.15);
    --border-color-lighter: rgb(255, 255, 255, 0.25);
    
    --font-primary: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-mono: "IBM Plex Sans", monospace;
    
    --transition-fast: 0.2s;
    --transition-default: 0.3s;
    --transition-slow: 0.9s;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: "";
    background-image: url("../img/hosting01.webp");
    width: 100%;
    height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    opacity: .02;
    z-index: -1;
    min-height: 100vh;
    pointer-events: none;
}

.login-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.6s ease-out;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(1.1);
}

.login-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-title h1 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text);
    margin: 0;
}

.login-subtitle {
    text-align: center;
    margin: 1rem;
}

.login-subtitle p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-default);
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.2);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.login-button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-default);
    font-family: var(--font-primary);
    margin-top: 1rem;
}

.login-button:hover {
    background: rgba(140, 82, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(140, 82, 255, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.forgot-password {
    text-align: right;
    margin-top: 1rem;
}

.forgot-password a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-default);
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.panel-container {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
}

.panel-header {
    background: var(--background);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.panel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.panel-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.panel-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.panel-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.panel-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-default);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.panel-nav-links a:hover,
.panel-nav-links a.active {
    color: var(--text);
    background: rgba(140, 82, 255, 0.1);
}

.panel-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.panel-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

.panel-greeting {
    margin-bottom: 3rem;
}

.panel-greeting h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.panel-greeting p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
}

.servers-section {
    margin-top: 3rem;
}

.servers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.servers-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.server-search-input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font-primary);
    transition: all var(--transition-default);
    min-width: 250px;
}

.server-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.server-search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.servers-tabs {
    display: flex;
    gap: 0.5rem;
}

.servers-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-default);
    font-weight: 500;
}

.servers-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.servers-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color-light);
    color: var(--text);
}

.all-servers-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-default);
}

.all-servers-btn:hover {
    background: rgba(140, 82, 255, 0.8);
    transform: translateY(-1px);
}

.servers-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.server-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    backdrop-filter: blur(20px);
    transition: all var(--transition-default);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: visible;
    min-height: auto;
}

.server-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.server-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.server-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text);
}

.server-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.server-location .flag {
    font-size: 1rem;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

.status-dot.active {
    background: #22c55e;
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.server-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    gap: 0.5rem;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.spec-value {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    font-family: var(--font-mono);
    white-space: nowrap;
}

.server-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-value {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    font-family: var(--font-mono);
}

.metric-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.metric-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-default);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color-light);
    transform: translateY(-1px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-icon i.fa-microchip {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.stat-icon i.fa-memory {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.stat-icon i.fa-hdd {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 700;
    font-family: var(--font-mono);
}

.server-footer {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    visibility: visible;
    opacity: 1;
    min-height: 70px;
}

.server-ip-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.server-quick-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.server-manage {
    display: flex;
    align-items: center;
}

.server-ip {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    visibility: visible;
    opacity: 1;
}

.server-ip i {
    color: var(--primary);
    font-size: 0.9rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all var(--transition-default);
    font-size: 0.8rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.copy-btn.copied {
    color: #22c55e;
}

.quick-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-default);
    font-size: 0.8rem;
}

.quick-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
}

.quick-btn.bookmark.bookmarked {
    color: var(--primary);
    background: rgba(140, 82, 255, 0.1);
}

.server-actions {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    visibility: visible;
    opacity: 1;
    flex-wrap: nowrap;
    min-width: 200px;
    justify-content: flex-end;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-default);
    font-size: 0.9rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
}

.action-btn.bookmark.bookmarked {
    color: var(--primary);
    background: rgba(140, 82, 255, 0.1);
}

.manage-btn {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-default);
    visibility: visible;
    opacity: 1;
    min-width: 80px;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.manage-btn:hover {
    background: rgba(140, 82, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(140, 82, 255, 0.3);
}

.manage-btn i {
    font-size: 0.8rem;
    transition: transform var(--transition-default);
}

.manage-btn:hover i {
    transform: translateX(2px);
}

.server-card .server-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.server-card .server-details-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.server-card .server-ip {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    text-align: right;
}

.server-card .server-icons {
    display: flex;
    gap: 0.5rem;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.server-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.server-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text);
}

.server-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.server-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.spec-tag {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-tag.architecture {
    background: #fbbf24;
    color: #000;
}

.spec-tag.memory {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.spec-tag.cpu {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.spec-tag.storage {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.spec-tag.traffic {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.server-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.server-created {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.server-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.manage-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-default);
    text-decoration: none;
    display: inline-block;
}

.manage-btn:hover {
    background: rgba(140, 82, 255, 0.8);
    transform: translateY(-1px);
}

.server-ip {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.server-icons {
    display: flex;
    gap: 0.5rem;
}

.server-icon-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-default);
}

.server-icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.bookmark-btn.bookmarked {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.bookmark-btn.bookmarked:hover {
    background: rgba(140, 82, 255, 0.8);
    border-color: var(--primary);
    color: white;
}



@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    /* Login responsive */
    .login-card {
        padding: 2rem;
        margin: 1rem;
    }

    .login-logo img {
        max-width: 150px;
    }

    .login-title h1 {
        font-size: 1.5rem;
    }

    /* Panel responsive */
    .panel-nav {
        padding: 0 1rem;
    }

    .panel-nav-links {
        display: none;
    }


    .servers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .server-card {
        padding: 1.5rem;
    }

    .server-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .server-card .server-status {
        align-self: flex-end;
    }

    .server-card-footer {
        justify-content: flex-start;
    }

    .server-card .server-actions {
        align-items: flex-start;
        width: 100%;
    }

    .server-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .server-card .server-specs {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .server-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .server-card .server-details-footer {
        align-items: center;
    }

    .server-card .server-actions {
        align-items: center;
    }
}

@media (max-width: 1024px) {
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .servers-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .servers-controls {
        justify-content: space-between;
    }
    
    .server-search-input {
        min-width: 200px;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .servers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .server-card {
        padding: 0.875rem;
        max-height: none;
    }

    .server-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .server-status {
        align-self: flex-end;
    }

    .server-specs {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .server-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .server-ip {
        justify-content: center;
    }

    .server-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .manage-btn {
        flex: 1;
        justify-content: center;
    }
    
    .servers-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .server-search-input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .server-card {
        padding: 1rem;
    }
    
    .server-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-btn {
        width: 100%;
        height: 40px;
    }
}

.panel-footer {
    background: var(--background);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-default);
}

.footer-content a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* Login footer specific styling */
.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.login-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-default);
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Mobile responsive for footer */
@media (max-width: 768px) {
    .footer-content {
        padding: 0 1rem;
    }

    .footer-content p {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .login-footer p {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ============================================================================
   ALERT & NOTIFICATION STYLES (components/alert.php)
   ============================================================================ */

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    border-left: 4px solid;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.alert-success {
    background: rgba(51, 206, 85, 0.1);
    border-color: #33ce55;
    color: #33ce55;
}

.alert-info {
    background: rgba(74, 144, 226, 0.1);
    border-color: #4a90e2;
    color: #4a90e2;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

/* Notification Toast Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--border-color);
    color: var(--text);
    font-size: 0.95rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: translateX(400px);
    transition: transform var(--transition-default) ease-out;
    z-index: 9999;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notification-error {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.notification-error i {
    color: #ff6b6b;
}

.notification-success {
    border-color: #33ce55;
    color: #33ce55;
}

.notification-success i {
    color: #33ce55;
}

.notification-info {
    border-color: #4a90e2;
    color: #4a90e2;
}

.notification-info i {
    color: #4a90e2;
}

.notification-warning {
    border-color: #f59e0b;
    color: #f59e0b;
}

.notification-warning i {
    color: #f59e0b;
}

@media (max-width: 768px) {
    .notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}