body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
}

h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #333;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #1f82fb, #0072ff);
    transition: width 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
    border-color: #777;
    outline: none;
    background-color: #444;
}

.btn-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.btn-siguiente,
.btn-anterior,
.btn-finalizar {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-siguiente {
    background-color: #0f7afd;
    color: #fff;
}

.btn-siguiente:hover {
    background-color: #666;
}

.btn-anterior {
    background-color: #333;
    color: #fff;
}

.btn-anterior:hover {
    background-color: #444;
}

.btn-finalizar {
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
}

.btn-finalizar:hover {
    background-color: #45a049;
}

.btn-finalizar:active {
    background-color: #3e8e41;
    transform: translateY(1px);
}

.error {
    color: #ff6b6b;
    background-color: #2d1414;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.exito {
    color: #51cf66;
    background-color: #1a2e1a;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.paso-info {
    text-align: center;
    margin-bottom: 20px;
    color: #999;
}

.resumen {
    background-color: #060b14;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.resumen h3 {
    color: #fff;
    margin-bottom: 15px;
}

.resumen p {
    margin: 5px 0;
    color: #ccc;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

/* Estilos para el recortador de imagen */
#crop-area {
    position: relative;
    display: inline-block;
    margin: 20px 0;
    max-width: 100%;
    overflow: hidden;
}

#crop-box {
    position: absolute;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.1);
    cursor: move;
    width: 240px;
    height: 376px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    touch-action: none;
}

.crop-preview {
    text-align: center;
    margin-bottom: 20px;
}

.crop-controls {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.crop-controls button {
    background-color: #555;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    min-width: 70px;
}

.crop-controls button:hover {
    background-color: #666;
}

.preview-final {
    text-align: center;
    margin-top: 20px;
}

#preview-canvas {
    border: 2px solid #666;
    max-width: 100%;
    height: auto;
    width: 240px;
    height: 376px;
}

/* Estilos para página de éxito */
.exito-container {
    text-align: center;
    padding: 40px 20px;
}

.exito-info h3 {
    color: #51cf66;
    font-size: 28px;
    margin-bottom: 20px;
}

.datos-creados {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.datos-creados p {
    margin: 10px 0;
    font-size: 16px;
}

.activacion-container {
    margin: 40px 0;
}

.btn-activacion {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-activacion:hover {
    background: linear-gradient(135deg, #20B954, #0F7A6B);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.btn-activacion svg {
    width: 28px;
    height: 28px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .btn-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-siguiente,
    .btn-anterior,
    .btn-finalizar {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    
    #crop-area {
        margin: 10px 0;
    }
    
    #imagen-preview {
        max-width: 100%;
        height: auto;
    }
    
    #crop-box {
        width: 200px;
        height: 313px;
    }
    
    .crop-controls {
        margin: 10px 0;
        gap: 5px;
    }
    
    .crop-controls button {
        padding: 12px 8px;
        font-size: 12px;
        min-width: 60px;
        flex: 1;
    }
    
    .preview-final {
        margin-top: 15px;
    }
    
    #preview-canvas {
        width: 200px;
        height: 313px;
    }
    
    .resumen {
        padding: 15px;
    }
    
    .resumen p {
        font-size: 14px;
        word-break: break-word;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="file"],
    select,
    textarea {
        padding: 15px 12px;
        font-size: 16px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .paso-info {
        font-size: 14px;
    }
}

/* Muy pequeños (menos de 480px) */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        margin: 0;
        padding: 15px;
        margin-bottom: 30px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    #crop-box {
        width: 150px;
        height: 235px;
    }
    
    #preview-canvas {
        width: 150px;
        height: 235px;
    }
    
    .crop-controls button {
        padding: 10px 6px;
        font-size: 11px;
        min-width: 50px;
    }
    
    .resumen p {
        font-size: 13px;
    }
    
    .exito-container {
        padding: 20px 10px;
    }
    
    .exito-info h3 {
        font-size: 24px;
    }
    
    .btn-activacion {
        padding: 16px 24px;
        font-size: 16px;
    }
}

