File "styles.css"
Full Path: C:/wamp64/www/Formaciones/assets/css/styles.css
File size: 3.5 KB
MIME-type: text/plain
Charset: utf-8
/* assets/css/styles.css */
:root {
--bg: #fff7f2;
--card-bg: linear-gradient(180deg, #fffaf6 0%, #fff3ec 100%);
--accent-1: #ff7a18;
--accent-2: #ffb66b;
--muted: #6b3f1a;
--text: #2b1f15;
--shadow: 0 6px 20px rgba(43, 31, 21, 0.12);
--radius: 14px;
--gap: 16px;
--glass: rgba(255, 255, 255, 0.6);
--focus-ring: 4px solid rgba(255, 122, 24, 0.18);
--transition: 200ms cubic-bezier(.2, .9, .3, 1);
font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
background: linear-gradient(135deg, #F2B749, #F2620F);
background-attachment: fixed;
color: var(--text);
display: flex;
flex-direction: column;
}
/* Contenedor Principal Adaptable */
.main-container {
width: 95%;
max-width: 1400px;
margin: 40px auto;
padding: 28px;
background: var(--card-bg);
border-radius: var(--radius);
box-shadow: var(--shadow);
border: 1px solid rgba(255, 122, 24, 0.1);
backdrop-filter: blur(10px);
}
/* Títulos con el estilo de la línea naranja superior */
h1, h2 {
color: var(--muted);
text-align: center;
position: relative;
padding-top: 15px;
}
h1:before, h2:before {
content: "";
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
height: 4px;
width: 60px;
border-radius: 4px;
background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}
/* Tablas Modernas */
.table-responsive { overflow-x: auto; margin-top: 20px; }
.table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.table th {
background: var(--accent-1);
color: white;
padding: 15px;
font-weight: 600;
}
.table td {
padding: 12px 15px;
border-bottom: 1px solid #eee;
}
.table tr:hover { background: #fffcf9; }
/* Formularios integrados */
.card-form {
display: flex;
flex-direction: column;
gap: 15px;
background: white;
padding: 20px;
border-radius: 12px;
border: 1px solid rgba(255, 122, 24, 0.1);
}
input, select, textarea {
width: 100%;
padding: 12px;
border-radius: 10px;
border: 1px solid rgba(43, 31, 21, 0.1);
background: #fff;
font-size: 1rem;
transition: var(--transition);
}
input:focus {
border-color: var(--accent-1);
outline: none;
box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.1);
}
/* Botones con degradado */
.btn-primary, button[type="submit"] {
background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
color: white;
border: none;
padding: 12px 24px;
border-radius: 12px;
font-weight: 600;
cursor: pointer;
box-shadow: 0 4px 15px rgba(255, 122, 24, 0.3);
transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 122, 24, 0.4);
}
/* Modales */
.modal {
position: fixed;
top:0; left:0; width: 100%; height: 100%;
background: rgba(43, 31, 21, 0.6);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal-content {
background: var(--bg);
padding: 30px;
border-radius: var(--radius);
max-width: 500px;
width: 90%;
box-shadow: var(--shadow);
}