:root {
    --primary-color: #ff6600;
    --secondary-color: #ff9900;
    --background-color: #ffffff;
    --card-background: #ffffff;
    --text-color: #343a40;
    --light-text-color: #6c757d;
    --border-color: #e9ecef;
    --focus-ring-color: rgba(0, 123, 255, 0.25);
    --success-color: #28a745;
    --success-bg: #d4edda;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    max-width: 98%;
    width: 100%;
    padding: 0rem;
}

.header {
    text-align: center;
    padding: 0rem 0;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.header p {
    color: var(--light-text-color);
    font-size: 1.1rem;
}

.form-section {
    display: flex;
    justify-content: center;
}

.form-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.form-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="file"] {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--focus-ring-color);
}
input[type="file"] {
    padding: 0.5rem;
}

/* Stepper (Indicador de pasos) */
.stepper-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.stepper-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
}

.step-text {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

.step.active .step-circle {
    background-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background-color: var(--secondary-color);
    color: white;
}


/* Contenido de cada pestaña */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.status-message {
    padding: 0.75rem;
    background-color: var(--success-bg);
    color: var(--success-color);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
    display: none;
}

.variations-section {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.variations-section h3 {
    width: 100%;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.domain-suggestion {
    background: var(--card-background);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}
.domain-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-background);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}
.domain-suggestion-item button {
    width: auto;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
}
.domain-suggestion:hover {
    transform: translateY(-2px);
    background-color: var(--primary-color);
    color: white;
}

.domain-suggestion.selected {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}
.selected-domains-list {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #e9ecef;
    display: block; /* Hago que el contenedor sea visible por defecto */
}
.selected-domains-list h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.selected-domains-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--card-background);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.selected-domains-list-item button {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc3545;
    cursor: pointer;
    padding: 0;
    width: auto;
}
.empty-list-message {
    font-style: italic;
    color: var(--light-text-color);
    text-align: center;
}
button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#checkDomainBtn {
    background-color: var(--primary-color);
    color: white;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

#checkDomainBtn:hover {
    background-color: #0056b3;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.button-group .next-btn {
    width: auto;
    background-color: var(--primary-color);
    color: white;
}

.button-group .prev-btn {
    width: auto;
    background-color: #6c757d;
    color: white;
}

.submit-btn {
    width: auto;
    background-color: var(--secondary-color);
    color: white;
}

.submit-btn:hover {
    background-color: #218838;
}

.hosting-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hosting-card {
    display: block;
    cursor: pointer;
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hosting-card:hover {
    border-color: var(--primary-color);
}

.hosting-card input[type="radio"] {
    display: none;
}

.hosting-card input[type="radio"]:checked + h3 {
    color: var(--primary-color);
}

.hosting-card input[type="radio"]:checked + h3 + p {
    color: var(--primary-color);
    font-weight: 600;
}

.hosting-card input[type="radio"]:checked + h3 + p + span {
    font-weight: 600;
    color: var(--primary-color);
}

.hosting-card h3 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.hosting-card p {
    margin: 0;
    color: var(--light-text-color);
    font-size: 0.9rem;
}

.hosting-card span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 400;
    color: var(--text-color);
}

.service-option {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.service-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.summary-card {
    background: var(--background-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.summary-card h3 {
    margin-top: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-item.total-section p {
    margin-bottom: 0;
}

.summary-item p {
    margin: 0;
}

.summary-card hr {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem 0;
}
.fiscal-note {
    font-size: 0.85rem;
    color: var(--light-text-color);
    text-align: center;
    margin-top: 1rem;
}
.footer {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--light-text-color);
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-top: 50px;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 90vh; 
    overflow-y: auto; 
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@keyframes animatetop {
    from { top: -300px; opacity: 0 }
    to { top: 0; opacity: 1 }
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.bank-info {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.bank-info p {
    margin: 0.5rem 0;
}

.bank-info strong {
    color: var(--text-color);
}

.bank-info #paymentReference {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.pay-btn {
    background-color: var(--primary-color);
    color: white;
    margin-top: 1.5rem;
}

.pay-btn:hover {
    background-color: #0056b3;
}

.confirmation-message {
    font-style: italic;
    color: var(--light-text-color);
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .form-card {
        padding: 1.5rem;
    }
}