/* Global Styles - European and American Business Style */
:root {
    --primary-red: #ff9f05;
    --dark-blue: #1B2A4A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Header Styles */
.header {
    background: #FFFFFF;
    color: var(--dark-blue);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;font-size: 20px;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #122e5e;
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: #163161;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background-color: var(--dark-blue);
}

.btn-secondary:hover {
    background-color: #152038;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* Navigation Menu Items */
.nav-item {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.nav-item:hover {
    border-color: var(--primary-red);
    background: #FFF5F5;
    transform: translateX(5px);
}

/* Alert/Message Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-info {
    background-color: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

/* Footer */
.footer {
    background-color: var(--light-gray);
    color: var(--text-dark);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .container {
        padding: 1rem;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
    }
}

/* Scroll to bottom button */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-red);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

.scroll-indicator.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-indicator:hover {
    transform: scale(1.1);
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--dark-blue);
    color: var(--white);
    font-weight: 600;
}

.table tr:hover {
    background-color: var(--light-gray);
}

@media (max-width: 768px) {
    .table {
        display: block;
        overflow-x: auto;
    }
}
