.gm-cf {
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
}
.gm-cf *, .gm-cf *:before, .gm-cf *:after {
    box-sizing: inherit;
}

.gm-cf--card {
    background-color: #FFFFFF;
    border: 1px solid #DFE1E3;
    border-radius: 20px;
    padding: 44px 44px 40px 44px;
}
.gm-cf-shadow-yes .gm-cf--card {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gm-cf--dark {
    background-color: #1F325F;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 44px 44px 40px 44px;
}

.gm-cf--minimal {
    background: transparent;
    padding: 0;
    border: none;
}

.gm-cf-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.gm-cf-head-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gm-cf-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}
.gm-cf--dark .gm-cf-title {
    color: #FFF;
}
.gm-cf-sub {
    font-size: 0.875rem;
    color: #666;
}
.gm-cf--dark .gm-cf-sub {
    color: rgba(255,255,255,0.7);
}

.gm-cf-divider {
    height: 1px;
    background-color: #DFE1E3;
    margin-bottom: 24px;
}
.gm-cf--dark .gm-cf-divider {
    background-color: rgba(255,255,255,0.1);
}

.gm-cf-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gm-cf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gm-cf-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.gm-cf-half {
    width: calc(50% - 8px);
}
.gm-cf-full {
    width: 100%;
}

@media(max-width: 600px) {
    .gm-cf-half {
        width: 100%;
    }
}

.gm-cf-label {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1F325F;
    letter-spacing: 0.5px;
}
.gm-cf--dark .gm-cf-label {
    color: #FFF;
}

.gm-cf-req {
    color: #E53E3E;
    margin-left: 2px;
}
.gm-cf-opt {
    color: #A0AEC0;
    font-weight: 400;
    text-transform: none;
    margin-left: 4px;
}

.gm-cf-input, .gm-cf-textarea, .gm-cf-select {
    width: 100%;
    background-color: #F5F7FA;
    border: 1px solid #DFE1E3;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #44546A;
    transition: all 0.2s ease;
}
.gm-cf--dark .gm-cf-input, .gm-cf--dark .gm-cf-textarea, .gm-cf--dark .gm-cf-select {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #FFF;
}
.gm-cf--dark .gm-cf-input::placeholder, .gm-cf--dark .gm-cf-textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.gm-cf-input:focus, .gm-cf-textarea:focus, .gm-cf-select:focus {
    border-color: #FF8D07;
    box-shadow: 0 0 0 1px #FF8D07;
    outline: none;
}

.gm-cf-textarea {
    resize: vertical;
}

.gm-cf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-top: 8px;
}
.gm-cf-checkbox-label input {
    margin-top: 2px;
}
.gm-cf-checkbox-txt {
    font-size: 12px;
    color: #1F325F;
}
.gm-cf--dark .gm-cf-checkbox-txt {
    color: rgba(255,255,255,0.8);
}
.gm-cf-checkbox-txt a {
    color: inherit;
    text-decoration: underline;
}

.gm-cf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #1F325F;
    color: #FFF;
    border: 1px solid #1F325F;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
}
.gm-cf-btn svg {
    fill: #FFF;
    width: 1em;
    height: 1em;
}

.gm-cf-btn--auto { width: auto; }
.gm-cf-btn--full { width: 100%; }

.gm-cf-btn--sm { padding: 12px 22px; font-size: 14px; }
.gm-cf-btn--md { padding: 15px 28px; font-size: 16px; }
.gm-cf-btn--lg { padding: 18px 36px; font-size: 18px; }

.gm-cf-btn-fx-lift .gm-cf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.gm-cf-btn-fx-glow .gm-cf-btn:hover {
    box-shadow: 0 0 12px rgba(255,141,7,0.5);
}

.gm-cf-btn-icon--right {
    order: 2;
}

.gm-cf-success, .gm-cf-error {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}
.gm-cf-success {
    background-color: #E6FFFA;
    color: #234E52;
    border: 1px solid #B2F5EA;
}
.gm-cf-error {
    background-color: #FFF5F5;
    color: #742A2A;
    border: 1px solid #FEB2B2;
}
