/* ============================================
   Bryze Contact Form
   Glassmorphism — red accent
   ============================================ */

.bc-form-wrap {
    --bc-glass: rgba(255, 255, 255, 0.05);
    --bc-glass-border: rgba(255, 255, 255, 0.1);
    --bc-input-bg: rgba(255, 255, 255, 0.04);
    --bc-input-border: rgba(255, 255, 255, 0.1);
    --bc-input-focus: rgba(220, 50, 50, 0.4);
    --bc-text: #e0e0e0;
    --bc-text-muted: #999;
    --bc-accent: #dc3232;
    --bc-accent-light: #ff4d4d;
    --bc-white: #fff;
    --bc-radius: 16px;
    --bc-transition: 0.3s ease;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    color: var(--bc-text);
    background: var(--bc-glass);
    border: 1px solid var(--bc-glass-border);
    border-radius: var(--bc-radius);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 44px 40px;
    -webkit-font-smoothing: antialiased;
}

/* ---- Header ---- */
.bc-header {
    text-align: center;
    margin-bottom: 36px;
}

.bc-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bc-white);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.bc-intro {
    font-size: 1rem;
    color: var(--bc-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ---- Form layout ---- */
.bc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.bc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ---- Label ---- */
.bc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---- Inputs ---- */
.bc-input,
.bc-select,
.bc-textarea {
    background: var(--bc-input-bg);
    border: 1px solid var(--bc-input-border);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 0.95rem;
    color: var(--bc-white);
    font-family: inherit;
    transition: border-color var(--bc-transition), box-shadow var(--bc-transition);
    outline: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    width: 100%;
    box-sizing: border-box;
}

.bc-input::placeholder,
.bc-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.bc-input:focus,
.bc-select:focus,
.bc-textarea:focus {
    border-color: var(--bc-input-focus);
    box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.1);
}

/* Select dropdown */
.bc-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.bc-select option {
    background: #1a1a1a;
    color: var(--bc-white);
}

/* Textarea */
.bc-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---- Validation ---- */
.bc-input.bc-error,
.bc-select.bc-error,
.bc-textarea.bc-error {
    border-color: var(--bc-accent);
}

/* ---- Feedback ---- */
.bc-feedback {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.bc-feedback.bc-success {
    background: rgba(50, 200, 100, 0.1);
    border: 1px solid rgba(50, 200, 100, 0.2);
    color: #50c878;
}

.bc-feedback.bc-error-msg {
    background: rgba(220, 50, 50, 0.1);
    border: 1px solid rgba(220, 50, 50, 0.2);
    color: var(--bc-accent-light);
}

/* ---- Submit button ---- */
.bc-submit {
    background: var(--bc-accent);
    color: var(--bc-white);
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--bc-transition), transform var(--bc-transition), box-shadow var(--bc-transition);
    align-self: flex-start;
    letter-spacing: 0.02em;
}

.bc-submit:hover {
    background: var(--bc-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 50, 50, 0.3);
}

.bc-submit:active {
    transform: translateY(0);
}

.bc-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ---- Alt mail link ---- */
.bc-alt {
    text-align: center;
    font-size: 0.85rem;
    color: var(--bc-text-muted);
    margin: 28px 0 0;
}

.bc-alt a {
    color: var(--bc-accent-light);
    text-decoration: none;
    font-weight: 500;
}

.bc-alt a:hover {
    text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .bc-form-wrap {
        padding: 32px 24px 28px;
        margin: 0 8px;
    }

    .bc-row {
        grid-template-columns: 1fr;
    }

    .bc-title {
        font-size: 1.5rem;
    }

    .bc-submit {
        width: 100%;
    }
}
