﻿:root {
    --cfer-primary: #00549E;
    --cfer-secondary: #00B289;
    --cfer-primary-hover: #003d75;
    --cfer-secondary-hover: #009273;
    --cfer-primary-disabled: #6b8fb8;
    --cfer-secondary-disabled: #669999;
    --color-error: #d9534f;
    --color-success: #5cb85c;
}

html, body {
    font-family: Tahoma;
    background-color: White;
    font-size: 14px;
    padding: 0;
    height: 100%;
    margin: 0;
    border: 0;
}

form#form1 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#holder {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header-gradient {
    height: 14px;
    background: linear-gradient(to right, var(--cfer-secondary) 0%, var(--cfer-secondary) 20%, var(--cfer-primary) 40%, var(--cfer-primary) 100%);
    flex-shrink: 0;
    width: 100%;
}

.header-section {
    background: linear-gradient(to bottom, #ffffff 80%, #dadada 100%);
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.header-container {
    width: 90%;
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.header-cfer-logo {
    text-align: right;
}

.cfer-logo-img {
    max-width: 200px;
    height: auto;
}

.loginview-section {
    width: 90%;
    margin: 0 auto;
    text-align: right;
    padding: 5px 0;
    flex-shrink: 0;
}

.main-container {
    flex: 1;
    padding: 20px 0px 0px 0px;
    display: flex;
    flex-direction: column;
}

.footer-section {
    background-color: var(--cfer-secondary);
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin: 0;
    flex-shrink: 0;
}

.footer-content {
    width: 90%;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.8;
}

    .footer-content a {
        color: white;
        text-decoration: none;
    }

        .footer-content a:hover {
            text-decoration: none;
        }

.login-container {
    display: flex;
    gap: 40px;
    padding: 30px 60px;
    margin: 0 auto;
}

.login-content-left {
    flex: 1;
    max-width: 550px;
}

.login-content-right {
    flex: 0 0 350px;
}

.esprifts-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.signin-description {
    margin-bottom: 20px;
    color: #555;
    font-weight: bold;
}

.deliverables-list {
    margin-bottom: 30px;
    color: #555;
}

    .deliverables-list ul {
        margin: 10px 0;
        padding-left: 20px;
    }

    .deliverables-list li {
        margin-bottom: 5px;
    }

.active-participants-title {
    font-size: 18px;
    font-weight: bold;
}

.login-form-container {
    border: 1px solid #ddd;
    padding: 20px;
    min-width: 375px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-form-group {
    margin-bottom: 10px;
}

.login-form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 13px;
}

.login-form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

.cfer-blue-button,
.cfer-green-button {
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
}

.cfer-blue-button {
    background-color: var(--cfer-primary);
}

    .cfer-blue-button:hover {
        background-color: var(--cfer-primary-hover);
    }

    .cfer-blue-button:disabled,
    .cfer-blue-button.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background-color: var(--cfer-primary-disabled);
        pointer-events: none;
    }

        .cfer-blue-button:disabled:hover,
        .cfer-blue-button.disabled:hover {
            background-color: var(--cfer-primary-disabled);
        }

.cfer-green-button {
    background-color: var(--cfer-secondary);
}

    .cfer-green-button:hover {
        background-color: var(--cfer-secondary-hover);
    }

    .cfer-green-button:disabled,
    .cfer-green-button.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background-color: var(--cfer-secondary-disabled);
        pointer-events: none;
    }

        .cfer-green-button:disabled:hover,
        .cfer-green-button.disabled:hover {
            background-color: var(--cfer-secondary-disabled);
        }

.login-forgot-password {
    margin-top: 15px;
    text-align: left;
}

    .login-forgot-password a {
        text-decoration: underline;
        font-size: 13px;
        font-weight: bold;
    }

.account-section {
    margin-top: 180px;
    padding-top: 10px;
}

.account-section-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
}

.account-section-text {
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: bold;
}

.account-section-button-group {
    display: flex;
    gap: 10px;
}

.action-button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.request-access-btn {
    background-color: var(--cfer-secondary);
    color: white;
}

    .request-access-btn:hover {
        background-color: var(--cfer-secondary-hover);
    }

.request-info-btn {
    background-color: var(--cfer-primary);
    color: white;
}

    .request-info-btn:hover {
        background-color: var(--cfer-primary-hover);
    }

.validation-error {
    color: var(--color-error);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.home-container {
    padding: 20px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-content-wrapper {
    display: flex;
    gap: 40px;
    padding: 0 20px;
    margin-bottom: 70px;
    flex: 1;
}

.home-left-column {
    flex: 1;
    min-width: 0;
}

    .home-left-column h2 {
        margin-top: 0;
        padding-bottom: 15px;
    }

.esprifts-phase-info {
    font-weight: bold;
    margin: 15px 0;
}

.deliverables-description {
    margin-bottom: 20px;
}

.deliverables-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    overflow: visible;
    width: 90%;
    margin: 0 auto;
}

.deliverables-button-image {
    width: auto;
    max-height: 75px;
    height: 100%;
    margin-bottom: 15px;
}

.deliverables-button-label {
    text-align: center;
    font-weight: 600;
    color: black;
    font-size: 14px;
    word-wrap: break-word;
}

.deliverables-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #ddd;
    background: white;
    padding: 10% 12% 10% 12%;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin: 2% 8% 2% 8%;
}

    .deliverables-button-wrapper:hover {
        background-color: #f9f9f9;
        box-shadow: 0 4px 8px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }

    .deliverables-button-wrapper.button-disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: #f5f5f5;
        position: relative;
        overflow: visible;
    }

    .deliverables-button-wrapper.button-disabled:hover {
        background-color: #f5f5f5;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        transform: none;
    }

        /* Tooltip styling for disabled buttons */
        .deliverables-button-wrapper.button-disabled[title] {
            cursor: help;
            border-color: #ffb3b3;
        }

.active-participants-image {
    max-width: 500px;
    height: auto;
    margin-bottom: 20px;
}

.contact-image {
    display: flex;
    justify-content: center;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.contact-section {
    background-color: var(--cfer-secondary);
    padding: 0px 50px 0px 50px;
    border-radius: 0;
    text-align: center;
    margin: 0;
    margin-top: auto;
    flex-shrink: 0;
}

.contact-info {
    margin-top: 15px;
}

    .contact-info a {
        color: white;
        text-decoration: none;
    }

        .contact-info a:hover {
            text-decoration: underline;
        }

.contact-item {
    margin-bottom: 10px;
    line-height: 1.6;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.password-page-container {
    padding: 30px 30px;
}

.password-page-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.password-page-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.recovery-form-container {
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recovery-form-group {
    margin-bottom: 10px;
}

.recovery-form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
}

.recovery-form-input {
    width: 100%;
    padding: 10px;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

.recovery-back-link {
    margin-top: 15px;
    text-align: left;
}

    .recovery-back-link a {
        color: #333;
        text-decoration: underline;
        font-size: 13px;
    }

.success-message {
    color: var(--color-success);
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f0f8f0;
    border: 1px solid var(--color-success);
    border-radius: 4px;
}

.change-password-container {
    display: flex;
    flex-direction: column;
}

.change-password-label {
    font-weight: bold;
    color: #333;
    font-size: 13px;
}

.change-password-input {
    padding: 10px;
    max-width: 300px;
    margin-left: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

.error-page-container {
    padding: 30px 30px;
}

.error-page-label {
    color: var(--cfer-secondary);
}

.account-creation-page-container {
    padding: 30px 30px;
}

.account-creation-page-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.account-creation-page-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.account-creation-form-container {
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.account-creation-form-group {
    margin-bottom: 10px;
}

.account-creation-form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
}

.account-creation-form-input {
    width: 100%;
    padding: 10px;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 960px) {
    .home-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-section {
        padding: 0px 30px 0px 30px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .login-content-right {
        flex: 0 0 auto;
    }

    .account-section {
        margin-top: 50px;
    }

    .deliverables-buttons-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-section {
        padding: 0px 20px 0px 20px;
    }
}