.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.share-modal {
    position: absolute;
    width: 100%;
    max-width: 600px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 25px;
    z-index: 1001;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.share-modal h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

.share-modal p {
    margin-bottom: 20px;
    color: #666;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-button:hover {
    color: #000;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

/*.checkbox-group input[type="checkbox"] {*/
/*    margin-right: 10px;*/
/*    margin-top: 3px;*/
/*}*/

.privacy-notice {
    margin: 15px 0;
    font-size: 13px;
    color: #666;
}

.email-disclaimer {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.share-now-button {
    width: 100%;
    padding: 12px;
    background-color: #284b82;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.share-now-button:hover {
    background-color: #1e3a68;
}

.share-now-button:disabled {
    background-color: #9aaccc;
    cursor: not-allowed;
}

.submit-result {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.submit-result.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.submit-result.error {
    background-color: #ffebee;
    color: #c62828;
}

.social-share {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.social-share p {
    margin-bottom: 10px;
    font-size: 14px;
}

.facebook-share {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #3b5998;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
}

.facebook-share:hover {
    background-color: #2d4373;
}

@media (max-width: 600px) {
    .share-modal {
        width: calc(100% - 40px);
        margin: 20px;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}