﻿.procurement-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-header {
    background: linear-gradient(135deg, #282572, #1e1d5f);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

    .page-header h1 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .page-header p {
        margin: 0.5rem 0 0 0;
        opacity: 0.9;
        font-size: 1.1rem;
    }

.info-box {
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

    .info-box h3 {
        color: #1976d2;
        margin: 0 0 0.5rem 0;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .info-box p {
        color: #555;
        margin: 0;
        line-height: 1.5;
    }

.procurement-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.section-header {
    background: linear-gradient(135deg, #282572, #1e1d5f);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    width: 32px;
    height: 32px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.iframe-container {
    padding: 0;
    background: #f8f9fa;
    position: relative;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 900px;
    border: none;
    background: white;
}

    .iframe-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0 0 12px 12px;
    }

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #282572;
    font-size: 1.1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e3f2fd;
    border-top: 4px solid #282572;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b35;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 1rem 2rem;
}

    .external-link:hover {
        background: #e55a2b;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        color: white;
        text-decoration: none;
    }

.tabs-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.tabs-header {
    background: linear-gradient(135deg, #282572, #1e1d5f);
    color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

    .tabs-header h2 {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 600;
    }

.tabs-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

    .tab-button:hover {
        background: #e9ecef;
        color: #282572;
    }

    .tab-button.active {
        background: white;
        color: #282572;
        border-bottom-color: #ff6b35;
    }

.tab-content {
    display: none;
    height: 900px;
}

    .tab-content.active {
        display: block;
    }

@media (max-width: 768px) {
    .procurement-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .page-header {
        padding: 1.5rem;
    }

        .page-header h1 {
            font-size: 2rem;
            flex-direction: column;
            gap: 0.5rem;
        }

    .section-header {
        padding: 1rem 1.5rem;
    }

    .iframe-wrapper {
        height: 600px;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-button {
        text-align: center;
    }

    .tab-content {
        height: 600px;
    }
}
