/* Importar Font Awesome (para íconos) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Estilos generales */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Botones generales */
button,
a.btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    background-color: #007bff;
    color: white;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover,
a.btn:hover {
    background-color: #0056b3;
}
/* Inputs y botones */
input[type="text"],
input[type="password"],
input[type="email"]{
    width: 100%;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Botón de descarga */
.btn-download {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: #45a049;
}

.btn-download i {
    margin-right: 8px;
}

/* Botón para etiquetas PDF */
.pdf-label {
    display: inline-block;
    margin-top: 15px;
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
}

.pdf-label:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Previsualización del PDF */
.pdf-preview {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    background: #f5f5f5;
}

.pdf-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Login y registro */
.form-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.login-section,
.register-section {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
}

.input-container {
    position: relative;
    width: 100%;
}

.eye-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #4da3ff;
    font-size: 1.2rem;
}

/* Panel del dashboard */
.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.dashboard-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .pdf-preview {
        height: 300px;
    }
}