/* style.css - Common styles for both apps */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a5f7a, #159895);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

/* Header Styles */
.header {
    background: linear-gradient(to right, #002b5b, #1a5f7a);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.header p {
    opacity: 0.9;
    font-size: 16px;
}

.admin-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
}

.spinner {
    font-size: 30px;
    margin-bottom: 15px;
    color: #159895;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #eee;
    position: relative;
}

.footer-content {
    margin-bottom: 10px;
}

.footer-content p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copyright {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .admin-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

.copyright {
    font-size: 13px;
    color: #a0d2db;
    margin-top: 15px;
    padding: 12px 20px;
    border-top: 1px solid rgba(21, 152, 149, 0.3);
    background: rgba(21, 152, 149, 0.05);
    border-radius: 8px;
    position: relative;
    font-weight: 500;
    text-align: center;
}

/* Subtle gradient border */
.copyright::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        #159895, 
        #1a5f7a, 
        #159895, 
        transparent);
    animation: borderGlow 3s infinite linear;
}

@keyframes borderGlow {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Text color animation */
.copyright span {
    background: linear-gradient(90deg, 
        #a0d2db, #70c9d1, #159895, #70c9d1, #a0d2db);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 4s infinite linear;
}

@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.copyright i {
    margin-right: 8px;
    color: #159895;
    animation: iconFloat 2s infinite ease-in-out;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
        color: #00fff7;
    }
}