/* ===== SOPORTE PAGE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #0b0b0f;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

.soporte-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Header */
.soporte-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #1f1f2b;
    margin-bottom: 40px;
}

.btn-volver {
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}
.btn-volver:hover { opacity: 0.75; }

.soporte-logo img {
    height: 40px;
    object-fit: contain;
}

/* Hero */
.soporte-hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #0b0b0f;
    margin: 0 auto 20px;
}

.soporte-hero h1 {
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 10px;
}

.soporte-hero p {
    color: #aaa;
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card */
.soporte-card {
    background: #14141c;
    border: 1px solid #1f1f2b;
    border-radius: 14px;
    padding: 32px;
}

/* Form sections */
.form-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d4af37;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1f1f2b;
}

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

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .soporte-card { padding: 20px; }
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 8px;
}

.req { color: #dc2626; }
.opcional { color: #666; font-weight: 400; font-size: 12px; }

.input {
    width: 100%;
    padding: 12px 16px;
    background: #0b0b0f;
    border: 1px solid #1f1f2b;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.input::placeholder { color: #555; }

.textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.select-wrapper { position: relative; }
.select-wrapper .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    pointer-events: none;
    font-size: 12px;
}
.select { appearance: none; cursor: pointer; padding-right: 40px; }

/* Upload area */
.upload-area {
    border: 2px dashed #1f1f2b;
    border-radius: 8px;
    padding: 28px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}
.upload-area:hover,
.upload-area.drag-over {
    border-color: #d4af37;
    background: rgba(212,175,55,0.04);
}
.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.upload-placeholder i {
    font-size: 32px;
    color: #444;
}
.upload-placeholder p {
    color: #666;
    font-size: 14px;
}
.upload-link { color: #d4af37; text-decoration: underline; cursor: pointer; }
.upload-placeholder small { color: #444; font-size: 12px; }

.upload-preview {
    position: relative;
    display: flex;
    justify-content: center;
}
.upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    object-fit: contain;
}
.remove-img {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc2626;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.form-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-hint i { color: #d4af37; }

/* Submit button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #0b0b0f;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success box */
.success-box {
    text-align: center;
    padding: 40px 20px;
}
.success-box i {
    font-size: 56px;
    color: #16a34a;
    margin-bottom: 20px;
    display: block;
}
.success-box h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}
.success-box p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 6px;
}
.success-box strong { color: #d4af37; }

/* Notifications */
#notifContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
}
.notif {
    background: #14141c;
    border: 1px solid #1f1f2b;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}
.notif-error { border-left: 4px solid #dc2626; }
.notif-error i { color: #dc2626; }
.notif-success { border-left: 4px solid #16a34a; }
.notif-success i { color: #16a34a; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* Footer */
.soporte-footer {
    text-align: center;
    margin-top: 40px;
    color: #444;
    font-size: 13px;
}

/* ===== BOTÓN DE SOPORTE en planes.php ===== */
.btn-soporte-planes {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #1f1f2b;
    border-radius: 8px;
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-soporte-planes:hover {
    border-color: #d4af37;
    color: #d4af37;
}
.btn-soporte-planes i { color: #d4af37; }
