/* Bug Report Specific Styles - Matching ASTRO-TANKS Theme */
.bug-main {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 1rem 2rem;
}

.bug-container {
    width: 100%;
    max-width: 580px;
    background: rgba(19, 25, 42, 0.85); /* Matches --void */
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(74, 144, 226, 0.2); /* Matches --grid-line / cyan */
    border-radius: 24px; /* Distinct rounded corners */
    padding: 3.5rem;
    box-shadow: 0 40px 80px -20px rgba(10, 15, 28, 0.9), 
                inset 0 1px 0 rgba(255,255,255,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bug-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--thruster), transparent);
    opacity: 0.9;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.bug-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.bug-form input,
.bug-form select,
.bug-form textarea {
    width: 100%;
    background: rgba(10, 15, 28, 0.7); /* Deep space black tint */
    border: 1px solid rgba(140, 165, 211, 0.15);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 1.1rem 1.4rem;
    border-radius: 16px; /* Smooth rounded inputs */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.bug-form textarea {
    resize: vertical;
    min-height: 130px;
}

.bug-form input:hover,
.bug-form select:hover,
.bug-form textarea:hover {
    border-color: rgba(74, 144, 226, 0.4); /* Cyan highlight */
    background: rgba(19, 25, 42, 0.9);
}

.bug-form input:focus,
.bug-form select:focus,
.bug-form textarea:focus {
    border-color: var(--cyan);
    background: rgba(10, 15, 28, 0.95);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.15), inset 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.bug-form input::placeholder,
.bug-form textarea::placeholder {
    color: var(--text-muted);
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CA5D3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1em;
    padding-right: 3rem;
}

.custom-select select option {
    background: var(--space-black);
    color: var(--text-main);
}

/* Submit Button - Matched to Theme */
.btn-submit {
    position: relative;
    background: rgba(241, 201, 139, 0.08); /* --thruster tint */
    border: 1px solid var(--thruster);
    color: var(--thruster);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.15em;
    padding: 1.2rem;
    border-radius: 999px; /* Pill-shaped button for modern feel */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
}

.btn-submit:hover {
    background: var(--thruster);
    color: var(--space-black); 
    box-shadow: 0 10px 25px rgba(241, 201, 139, 0.35);
    transform: translateY(-2px);
}

.btn-submit:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.submit-ping {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.submit-status {
    margin-top: 1rem;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
    min-height: 1.2rem;
}

.submit-status.success {
    color: #4cd964;
    opacity: 1;
}

.submit-status.error {
    color: #ff3b30;
    opacity: 1;
}

/* Return to Base Nav Button */
.nav-return-btn {
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(140, 165, 211, 0.3);
    color: var(--text-main);
    background: rgba(10, 15, 28, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.nav-return-btn:hover {
    background: rgba(74, 144, 226, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.25);
    transform: translateX(-3px);
}
