/* Ghorror Contact Form Custom Styles */

.ghorror-contact-card {
    background-color: #0c0c0c !important;
    border: 1px solid rgba(227, 7, 7, 0.35) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 25px rgba(227, 7, 7, 0.15) !important;
    color: #fff !important;
    max-width: 800px;
}

/* Header styling */
.ghorror-header-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.ghorror-header-icon-circle {
    width: 36px;
    height: 36px;
    background-color: rgba(227, 7, 7, 0.1);
    border: 2px solid #e30707;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e30707;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(227, 7, 7, 0.3);
    flex-shrink: 0;
}

.ghorror-contact-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ghorror-contact-desc {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Form layout and elements */
.ghorror-contact-card label.form-label {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.ghorror-contact-card .text-danger {
    color: #e30707 !important;
}

/* Custom Input Groups */
.ghorror-input-group {
    display: flex;
    align-items: stretch;
    background-color: #000;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    padding: 4px;
    transition: border-color 0.25s, box-shadow 0.25s;
    width: 100%;
}

.ghorror-input-group:focus-within {
    border-color: rgba(227, 7, 7, 0.6) !important;
    box-shadow: 0 0 8px rgba(227, 7, 7, 0.2) !important;
}

.ghorror-input-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(227, 7, 7, 0.05);
    border: 1px solid rgba(227, 7, 7, 0.4);
    border-radius: 4px;
    color: #e30707;
    font-size: 16px;
    flex-shrink: 0;
}

.ghorror-form-control {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
}

.ghorror-form-control::placeholder {
    color: #555 !important;
}

/* Textarea specifically */
.ghorror-input-group.align-items-start {
    padding-top: 6px;
}

.ghorror-form-control-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Select Dropdown */
.ghorror-select {
    background-color: #0c0c0c !important;
    border: 1px solid #1f1f1f !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 11px 15px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px 12px !important;
    appearance: none !important;
    outline: none !important;
    width: 100% !important;
    transition: border-color 0.25s, box-shadow 0.25s !important;
}

.ghorror-select:focus {
    border-color: rgba(227, 7, 7, 0.6) !important;
    box-shadow: 0 0 8px rgba(227, 7, 7, 0.2) !important;
}

.ghorror-select option {
    background-color: #0c0c0c;
    color: #fff;
}

/* File Attachment Input */
.ghorror-file-input-container {
    background-color: #000;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.ghorror-file-input {
    background-color: transparent !important;
    border: none !important;
    color: #666 !important;
    font-size: 14px !important;
    padding: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    cursor: pointer;
}

/* Modern file upload button styling */
.ghorror-file-input::file-selector-button {
    background-color: #1e1e1e !important;
    color: #ccc !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    padding: 5px 12px !important;
    margin-right: 12px !important;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.ghorror-file-input::file-selector-button:hover {
    background-color: #2b2b2b !important;
    color: #fff !important;
    border-color: #444 !important;
}

/* Webkit specific fallback */
.ghorror-file-input::-webkit-file-upload-button {
    background-color: #1e1e1e !important;
    color: #ccc !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    padding: 5px 12px !important;
    margin-right: 12px !important;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.ghorror-file-input::-webkit-file-upload-button:hover {
    background-color: #2b2b2b !important;
    color: #fff !important;
    border-color: #444 !important;
}

/* Helper small text */
.ghorror-contact-card .form-text {
    color: #666 !important;
    font-size: 12px !important;
    margin-top: 6px !important;
}

/* Submit Button */
.ghorror-submit-btn {
    background-color: #c90016 !important;
    border: none !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    width: 100% !important;
}

.ghorror-submit-btn:hover {
    background-color: #e30707 !important;
}

.ghorror-submit-btn:active {
    transform: scale(0.99) !important;
}

.ghorror-submit-btn i {
    font-size: 16px;
    transform: rotate(0deg);
    display: inline-block;
}

/* Loading Overlay */
.ghorror-contact-loading {
    background-color: rgba(10, 10, 10, 0.8) !important;
    border-radius: 12px !important;
}

.ghorror-contact-loading .spinner-border {
    color: #e30707 !important;
    width: 2.5rem;
    height: 2.5rem;
}

/* Alert response styling */
.ghorror-contact-message .alert {
    background-color: #0c0c0c !important;
    border: 1px solid rgba(227, 7, 7, 0.3) !important;
    color: #fff !important;
    border-radius: 6px !important;
}

.ghorror-contact-message .alert-success {
    border-color: rgba(40, 167, 69, 0.4) !important;
    color: #28a745 !important;
}

.ghorror-contact-message .alert-danger {
    border-color: rgba(220, 53, 69, 0.4) !important;
    color: #dc3545 !important;
}
