/* X Fortress Login - Clean Custom Style */

:root {
    --fortress-primary: #A01641;
    --fortress-light: #e04670;
    --fortress-dark: #8c1238;
}

/* Background */
body.fi-body {
    background: #0a0a0c !important;
    background-image: url('https://media.xdripia.com/assets/banners/the_stronghold_banners__3_.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

/* Layout with overlay */
.fi-simple-layout {
    position: relative;
}

.fi-simple-layout::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.88) 0%, rgba(60, 15, 35, 0.9) 100%);
    z-index: -1;
}

/* Toggle Buttons */
.fi-toggle-buttons {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    padding: 4px !important;
    background: rgba(20, 20, 25, 0.8) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.fi-toggle-buttons-btn {
    flex: 1 !important;
    padding: 12px 16px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
    border: none !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.25s ease !important;
}

.fi-toggle-buttons-btn:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.fi-toggle-buttons-btn[aria-checked="true"],
.fi-toggle-buttons-btn.fi-active {
    background: linear-gradient(135deg, var(--fortress-primary), var(--fortress-dark)) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(160, 22, 65, 0.4) !important;
}

/* Form Fields */
.fi-fo-field-wrp {
    margin-bottom: 16px !important;
}

.fi-fo-field-wrp-label {
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 8px !important;
}

.fi-input-wrp {
    background: rgba(10, 10, 15, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
}

.fi-input-wrp:focus-within {
    border-color: rgba(160, 22, 65, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(160, 22, 65, 0.15) !important;
}

.fi-input {
    background: transparent !important;
    color: #fff !important;
    padding: 14px 16px !important;
}

.fi-input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Checkbox */
.fi-checkbox-input {
    background: rgba(10, 10, 15, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.fi-checkbox-input:checked {
    background: var(--fortress-primary) !important;
    border-color: var(--fortress-primary) !important;
}

.fi-checkbox label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Submit Button */
.fi-btn-primary {
    width: 100% !important;
    padding: 14px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, var(--fortress-primary), var(--fortress-dark)) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(160, 22, 65, 0.4) !important;
    transition: all 0.25s ease !important;
}

.fi-btn-primary:hover {
    background: linear-gradient(135deg, var(--fortress-light), var(--fortress-primary)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 28px rgba(160, 22, 65, 0.5) !important;
}

/* Error */
.fi-fo-field-wrp-error-message {
    color: #f87171 !important;
    font-size: 13px !important;
}
