/* GoDIEP B2B Contact Modal Styles */

.godiep-b2b-btn {
    display: inline-block;
    background-color: #0d1b2a;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.godiep-b2b-btn:hover {
    background-color: #1b263b;
    transform: translateY(-2px);
}

/* Modal Overlay */
.godiep-b2b-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999999;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Modal Content Box */
.godiep-b2b-modal-content {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.godiep-b2b-modal-inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .godiep-b2b-modal-inner {
        flex-direction: row;
    }
}

/* Close Button */
.godiep-b2b-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #415a77;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.godiep-b2b-modal-close:hover {
    color: #0d1b2a;
}

/* Body & Form Area */
.godiep-b2b-modal-body {
    flex: 1;
    padding: 40px;
}

.godiep-b2b-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #0d1b2a;
    font-weight: 700;
}

.godiep-b2b-header p {
    color: #415a77;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form Styles */
.godiep-b2b-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 600px) {
    .godiep-b2b-row {
        flex-direction: row;
    }
}

.godiep-b2b-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.godiep-b2b-row .godiep-b2b-group {
    margin-bottom: 0;
}

.godiep-b2b-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1b263b;
    margin-bottom: 8px;
}

.godiep-b2b-group input,
.godiep-b2b-group select,
.godiep-b2b-group textarea {
    padding: 12px 16px;
    border: 1px solid #e0e1dd;
    border-radius: 6px;
    font-size: 15px;
    color: #0d1b2a;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    font-family: inherit;
}

.godiep-b2b-group input:focus,
.godiep-b2b-group select:focus,
.godiep-b2b-group textarea:focus {
    outline: none;
    border-color: #415a77;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(65, 90, 119, 0.1);
}

.godiep-micro-copy {
    font-size: 12px;
    color: #778da9;
    margin-top: 6px;
}

.godiep-b2b-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.godiep-b2b-checkbox input[type="checkbox"] {
    margin-top: 4px;
    margin-right: 10px;
}

.godiep-b2b-checkbox label {
    font-size: 13px;
    color: #415a77;
    line-height: 1.5;
}

.godiep-b2b-checkbox a {
    color: #1b263b;
    text-decoration: underline;
}

.godiep-b2b-submit-btn {
    width: 100%;
    background-color: #0d1b2a;
    color: #ffffff;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.godiep-b2b-submit-btn:hover {
    background-color: #1b263b;
}

.godiep-b2b-submit-btn:disabled {
    background-color: #778da9;
    cursor: not-allowed;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.godiep-b2b-error-message {
    background-color: #fce4e4;
    color: #cc0033;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Trust Indicators */
.godiep-b2b-trust-indicators {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e1dd;
    text-align: center;
}

.godiep-b2b-trust-indicators p {
    font-size: 13px;
    color: #778da9;
    margin-bottom: 15px;
    font-weight: 500;
}





/* Thank You State */
.godiep-b2b-thank-you-content {
    text-align: center;
    padding: 40px 0;
}

.success-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    margin-bottom: 20px;
}

.success-icon {
    width: 32px;
    height: 32px;
}

.godiep-b2b-thank-you-content h2 {
    font-size: 28px;
    color: #0d1b2a;
    margin-bottom: 10px;
}

.godiep-b2b-thank-you-content .sub-headline {
    font-size: 16px;
    color: #415a77;
    margin-bottom: 30px;
}

.expectations-box {
    background-color: #f8f9fa;
    border: 1px solid #e0e1dd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.expectations-box p {
    margin: 0;
    font-size: 15px;
    color: #1b263b;
    line-height: 1.6;
}

.next-steps {
    text-align: left;
}

.next-steps p {
    font-size: 14px;
    color: #778da9;
    margin-bottom: 10px;
}

.blog-link {
    display: inline-block;
    color: #0d1b2a;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.blog-link:hover {
    color: #415a77;
    text-decoration: underline;
}
