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

body {
    font-family: 'Bree Serif', serif;
    background-color: #FFFAF0;
    color: #000;
    line-height: 1.6;
}

/* Banner */
.banner {
    background-color: #015F4D;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
}

/* Subheading */
.subheading {
    color: #56A0C3;
    font-weight: 500;
    margin: 20px 0 16px 0;
    text-align: center;
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
}

.login-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-form h3 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-login {
    background-color: #56A0C3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Bree Serif', serif;
    width: 100%;
}

.btn-login:hover {
    background-color: #4A90B0;
}

.error-message {
    color: #56A0C3;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* Resources Page */
.resources-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.search-container input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search-container button {
    background-color: #56A0C3;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.skills-tabs {
    display: flex;
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
}

.skills-tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #B0C7E7;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    white-space: nowrap;
}

.skills-tab.active {
    background-color: #56A0C3;
    color: white;
}

.resources-list {
    background-color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    min-height: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.resource-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-item:last-child {
    border-bottom: none;
}

.resource-name {
    flex-grow: 1;
}

.download-btn {
    background-color: #56A0C3;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.download-btn:hover {
    background-color: #4A90B0;
}

.loading, .no-results {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.download-button {
    background-color: #56A0C3;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-button:hover {
    background-color: #4A90B0;
}

.pdf-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
}

.pdf-viewer-container {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pdf-viewer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #56A0C3;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 1001;
}

.pdf-viewer-close:hover {
    background-color: #4A90B0;
}

.pdf-viewer-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.view-button {
    background-color: #56A0C3;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
}

.view-button:hover {
    background-color: #4A90B0;
}

.resource-actions {
    display: flex;
    align-items: center;
    gap: 8px;
} 