/* Support Form Styles - Enhanced */

.rgx-support-form-wrapper {
    position: relative;
    z-index: 1;
}

.rgx-form-status {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1.5px solid;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.32s ease;
    margin-bottom: 20px;
}

.rgx-form-status.is-success {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.5);
}

.rgx-form-status.is-success .mil-dark-soft {
    color: rgba(144, 238, 144, 1) !important;
}

.rgx-form-status.is-error {
    background: rgba(244, 67, 54, 0.15);
    border-color: rgba(244, 67, 54, 0.5);
}

.rgx-form-status.is-error .mil-dark-soft {
    color: rgba(255, 150, 130, 1) !important;
}

.rgx-support-form {
    position: relative;
    z-index: 1;
}

.rgx-form-group {
    display: flex;
    flex-direction: column;
}

.rgx-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
}

.rgx-form-row .rgx-form-col {
    flex: 1;
    min-width: 280px;
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 768px) {
    .rgx-form-row {
        gap: 16px;
        flex-direction: column;
    }

    .rgx-form-row .rgx-form-col {
        width: 100%;
        min-width: 100%;
        flex: 1 1 100%;
    }
}

.rgx-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.4;
}

.rgx-form-input,
.rgx-form-select,
.rgx-form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.5;
}

.rgx-form-input::placeholder,
.rgx-form-select::placeholder,
.rgx-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.rgx-form-input:hover,
.rgx-form-select:hover,
.rgx-form-textarea:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.rgx-form-input:focus,
.rgx-form-select:focus,
.rgx-form-textarea:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.8);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.rgx-form-input.is-error,
.rgx-form-select.is-error,
.rgx-form-textarea.is-error {
    border-color: rgba(244, 67, 54, 0.6);
    background: rgba(244, 67, 54, 0.08);
}

.rgx-form-input.is-error:focus,
.rgx-form-select.is-error:focus,
.rgx-form-textarea.is-error:focus {
    border-color: rgba(244, 67, 54, 0.8);
    box-shadow: 0 0 0 4px rgba(244, 67, 54, 0.15);
}

.rgx-form-input,
.rgx-form-select {
    height: 46px;
}

.rgx-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
}

.rgx-form-select::-ms-expand {
    display: none;
}

.rgx-form-select:focus {
    outline: none;
}

.rgx-form-select option {
    background: #0a0e1a;
    color: #fff;
    padding: 8px;
}

.rgx-form-textarea {
    resize: vertical;
    min-height: 140px;
    padding-top: 12px;
}

.rgx-form-error {
    display: block;
    font-size: 12px;
    color: rgba(255, 130, 110, 1);
    margin-top: 6px;
    line-height: 1.4;
    font-weight: 500;
}

.rgx-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.rgx-form-actions .mil-button {
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .rgx-form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .rgx-form-actions .mil-button {
        width: 100%;
    }
}

/* Support Info Sidebar */

.rgx-support-info {
    position: relative;
}

.rgx-support-card {
    padding: 24px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
}

.rgx-support-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(59, 130, 246, 0.05) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.9);
}

.rgx-support-card .rgx-support-card-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: inline-block;
}

.rgx-support-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
}

.rgx-support-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.rgx-support-card a {
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.24s ease;
    font-weight: 500;
}

.rgx-support-card a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.rgx-support-card small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    font-weight: 400;
}

@media screen and (max-width: 992px) {
    .rgx-support-card {
        padding: 20px 16px;
    }

    .rgx-support-card .rgx-support-card-icon {
        font-size: 24px;
    }

    .rgx-support-card h4 {
        font-size: 15px;
    }

    .rgx-support-card p {
        font-size: 13px;
    }
}

/* Utility Classes */

.mil-mb-20 {
    margin-bottom: 20px;
}

.mil-mb-30 {
    margin-bottom: 30px;
}

.mil-mb-60 {
    margin-bottom: 60px;
}

.mil-up {
    opacity: 1;
}

.mil-dark-soft {
    color: rgba(255, 255, 255, 0.7);
}

.mil-light-soft {
    color: rgba(255, 255, 255, 0.8);
}


.rgx-support-card p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.rgx-support-card p a {
    color: #266cf1;
    text-decoration: none;
    transition: all 0.24s ease;
    font-weight: 500;
}

.rgx-support-card p a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.rgx-support-card p small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

@media screen and (max-width: 992px) {
    .rgx-support-card {
        padding: 16px 12px;
    }

    .rgx-support-card .rgx-support-card-icon {
        font-size: 20px;
    }

    .rgx-support-card h4 {
        font-size: 14px;
    }

    .rgx-support-card p {
        font-size: 13px;
    }
}
