/* =====================================================
   Draikotune – Plan Starter Form CSS
   Todos los selectores con prefijo .dkt- para evitar
   conflictos con el tema de WordPress
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

.dkt-container {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #0a0a0a;
    max-width: 520px;
    width: 100%;
    margin: 40px auto;
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid #222222;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    color: #ffffff;
}

.dkt-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #444, transparent);
}

/* --- Logo --- */
.dkt-logo-wrapper {
    text-align: center;
    margin-bottom: 40px;
}
.dkt-logo-wrapper img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

/* --- Header --- */
.dkt-form-header {
    text-align: center;
    margin-bottom: 30px;
}
.dkt-form-header h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.dkt-form-header p {
    font-size: 14px;
    color: #888888;
    margin-top: 8px;
    margin-bottom: 0;
}

/* --- Plan Badge --- */
.dkt-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1a2a4a, #0f1e35);
    border: 1px solid rgba(37, 99, 235, 0.33);
    color: #60a5fa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(59,130,246,0.15);
}
.dkt-plan-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 6px #3b82f6;
    display: inline-block;
}

/* --- Form Groups --- */
.dkt-form-group {
    margin-bottom: 24px;
}
.dkt-form-group > label,
.dkt-container label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #eeeeee;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- Inputs & Select --- */
.dkt-container input[type="text"],
.dkt-container input[type="email"],
.dkt-container input[type="url"],
.dkt-container select {
    width: 100%;
    padding: 15px;
    background: #121212;
    border: 1px solid #222222;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    appearance: none;
}
.dkt-container input[type="text"]:focus,
.dkt-container input[type="email"]:focus,
.dkt-container input[type="url"]:focus,
.dkt-container select:focus {
    border-color: #3b82f6;
    outline: none;
    background: #161616;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.dkt-container select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* --- Radio Grid --- */
.dkt-radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.dkt-radio-card {
    background: #121212;
    border: 1px solid #222222;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.dkt-radio-card:hover {
    border-color: #444;
}
.dkt-radio-card input[type="radio"] {
    width: auto !important;
    margin-right: 12px;
    accent-color: #3b82f6;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

/* --- Terms --- */
.dkt-terms-group {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.dkt-terms-group input[type="checkbox"] {
    width: 20px !important;
    min-width: 20px;
    height: 20px;
    margin: 2px 0 0 0 !important;
    padding: 0;
    border-radius: 6px;
    accent-color: #3b82f6;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: none;
}
.dkt-terms-label {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #aaaaaa !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    cursor: pointer;
    user-select: none;
}
.dkt-terms-label a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}
.dkt-terms-label a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* --- Errors & Warnings --- */
.dkt-terms-error {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 600;
}
.dkt-char-warning {
    display: none;
    color: #f59e0b;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

/* --- reCAPTCHA --- */
.dkt-captcha-container {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

/* --- Form message (error general) --- */
.dkt-form-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* --- Submit Button --- */
.dkt-container button[type="submit"] {
    width: 100%;
    padding: 18px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dkt-container button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
    filter: brightness(0.9);
}
.dkt-container button[type="submit"]:disabled {
    background: #222222;
    color: #555555;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

/* --- Success Message --- */
#dkt-success-msg {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid #10b981;
}
.dkt-success-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #10b981;
    margin: 0 auto 20px;
}
#dkt-success-msg h3 {
    color: #10b981;
    font-size: 24px;
    margin: 0 0 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
#dkt-success-msg p {
    color: #a1a1aa;
    line-height: 1.7;
    font-size: 15px;
}

/* --- Responsive --- */
@media (max-width: 560px) {
    .dkt-container {
        padding: 30px 20px;
        margin: 20px auto;
        border-radius: 16px;
    }
}
