/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2A3647;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Content */
.modal-content {
    background-color: white;
    padding: 56px 72px;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 3px #00000014;
    text-align: center;
    max-width: 800px;
    min-height: 400px;
    margin: 0 16px;
    font-family: 'Inter', sans-serif;
}

/* Typography */
.modal-content h2 {
    font-size: 40px;
    line-height: 120%;
    font-weight: 700;
    margin-bottom: 24px;
    color: #2A3647;
}

.modal-content p {
    font-size: 20px;
    /* Well above 16px requirement */
    margin-bottom: 56px;
    color: #2A3647;
}

/* Buttons */
.modal-content button,
.modal-content .button {
    display: inline-block;
    background-color: #2A3647;
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 18px;
    /* Well above 16px requirement */
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.modal-content button:hover,
.modal-content .button:hover {
    background-color: #29ABE2;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.modal-content button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.button-group-login {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 20px;
}

.button-group-login-item {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button-group-login-item p {
    font-size: 23px;
    text-align: start;
    margin: 0;
}

.button-group-login-item button {
    margin: 0;
    font-size: 23px;
}

/* Mobile Modal Elements (Hidden by default) */
.modal-logo-mobile {
    position: absolute;
    top: 35px;
    left: 30px;
    width: 64px;
    /* Adjust size as needed */
    height: auto;
}

.modal-signup-mobile {
    position: absolute;
    top: 100px;
    /* Adjust based on layout */
    display: flex;
    align-items: center;
    gap: 8px;
}

.not-a-user-white {
    color: white;
    font-size: 16px;
    font-weight: 400;
}

.signup-btn-blue {
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.signup-btn-blue:hover {
    background-color: #29ABE2;
}

.modal-footer-mobile {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 20px;
}

.modal-footer-mobile a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.modal-footer-mobile a:hover {
    opacity: 1;
}

/* Specific Button Styles */
.modal-content .btn-stakeholder {
    background-color: #29ABE2;
    color: white;
    border: 1px solid #29ABE2;
}

.modal-content .btn-stakeholder:hover {
    background-color: #099DD7;
    border-color: #099DD7;
}

.modal-content .btn-member {
    background-color: transparent;
    border: 1px solid #2A3647;
    color: #2A3647;
}

.modal-content .btn-member:hover {
    background-color: #2A3647;
    color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Full Page Modal (Stakeholder View) */
.full-page-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F5F7F7;
    /* Same as body bg */
    z-index: 2000;
    /* Higher than overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.stakeholder-wrapper {
    width: 100%;
    max-width: 1920px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.stakeholder-logo {
    position: absolute;
    top: 29px;
    left: 40px;
    width: 46px;
    height: 56px;
}

.stakeholder-header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 24px;
    margin-top: 80px;
    /* Space for logo */
}

.stakeholder-text-column h2 {
    background: #FFD2D285;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 20px;
    line-height: 120%;
}

.stakeholder-text-column .limit-ok-heading {
    background: none;
    display: block;
    text-align: left;
    padding: 0;
    font-size: 28px;
    font-weight: 400;
    color: #2A3647;
    margin-bottom: 24px;
    white-space: normal;
}

.back-btn {
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.125s ease;
}

.back-btn:hover {
    background-color: #E0E0E0;
}

.request-counter {
    font-size: 20px;
    color: #2A3647;
    font-weight: bold;
}

.stakeholder-content {
    max-width: 1200px;
    /* Increased width for side-by-side layout */
    width: 90%;
    text-align: center;
    padding: 40px 24px;
    margin-top: 40px;
    flex-grow: 1;
}

.stakeholder-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

.stakeholder-text-column {
    flex: 1;
    max-width: 600px;
}

.stakeholder-image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.stakeholder-image-column img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    /* Ensures image is fully visible */
    border-radius: 20px;
    /* Optional: adds nice rounded corners */
}

.stakeholder-image-mobile {
    display: none;
    /* Hidden by default on desktop */
    width: 100%;
    margin: 20px 0;
}

.stakeholder-image-mobile img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 20px;
}