/* Corporate Panel Styles */
:root {
    --primary-color: #9EB50D;
    --secondary-color: #000200;
    --background-color: #FFFFFF;
    --text-primary: #000200;
    --text-secondary: #666666;
    --shadow-light: rgba(158, 181, 13, 0.1);
    --shadow-medium: rgba(158, 181, 13, 0.2);
    --shadow-dark: rgba(0, 2, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #8DA30B 100%);
    --gradient-hover: linear-gradient(135deg, #8DA30B 0%, var(--primary-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.05;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    bottom: 20%;
    left: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* Main Container */
.main-container {
    background: #F7f7F7;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 
        0 20px 60px var(--shadow-light),
        0 8px 25px var(--shadow-dark);
    border: 1px solid rgba(158, 181, 13, 0.1);
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Logo Section */
.logo-section {
    position: relative;
}

.company-logo {
    max-height: 80px;
    max-width: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px var(--shadow-light));
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px var(--shadow-medium));
}

.logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Title Section */
.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

/* Buttons Section */
.buttons-container {
    margin: 2rem 0;
}

.panel-button {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(158, 181, 13, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    width: 100%;
    min-height: 180px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-light);
}

.panel-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.panel-button:hover::before {
    left: 0;
    opacity: 0.1;
}

.panel-button:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 16px 48px var(--shadow-medium),
        0 8px 24px var(--shadow-dark);
    transform: translateY(-4px) scale(1.02);
}

.panel-button:active {
    transform: translateY(-2px) scale(0.98);
}

.button-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.panel-button:hover .button-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.button-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.button-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    transition: all 0.3s ease;
}

.panel-button:hover .button-description {
    color: var(--text-primary);
}

/* Specific Button Styles */
.admin-panel .button-icon {
    color: #e74c3c;
}

.admin-panel:hover .button-icon {
    color: #c0392b;
}

.user-panel .button-icon {
    color: #3498db;
}

.user-panel:hover .button-icon {
    color: #2980b9;
}

/* Footer Section */
.footer-section {
    border-top: 1px solid rgba(158, 181, 13, 0.1);
    padding-top: 1.5rem;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .panel-button {
        min-height: 160px;
        padding: 1.5rem 1rem;
    }
    
    .button-icon {
        font-size: 2rem;
    }
    
    .button-title {
        font-size: 1.2rem;
    }
    
    .button-description {
        font-size: 0.9rem;
    }
    
    .company-logo {
        max-height: 60px;
    }
}

@media (max-width: 576px) {
    .main-container {
        padding: 1.5rem 1rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .panel-button {
        min-height: 140px;
    }
    
    .shape {
        display: none;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.panel-button:active {
    animation: pulse 0.2s ease-in-out;
}

/* Focus States for Accessibility */
.panel-button:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}