:root {
    --spacing-unit: 1rem;
}

body {
    padding-top: var(--spacing-unit);
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.card {
    margin-bottom: var(--spacing-unit);
    border-radius: 8px;
}

.form-select, .form-control {
    margin-bottom: var(--spacing-unit);
}

.alert {
    margin-bottom: var(--spacing-unit);
}

.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estilos para validación de formularios */
.form-control:invalid {
    border-color: var(--bs-danger);
}

.form-control:valid {
    border-color: var(--bs-success);
}

.invalid-feedback {
    display: none;
    color: var(--bs-danger);
    font-size: 0.875rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

/* Estilos para la página de inicio */
.welcome-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    margin-bottom: var(--spacing-unit);
}

.hero {
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--spacing-unit);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.btn-custom {
    background-color: #343a40;
    color: white;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-custom:hover {
    background-color: #212529;
    color: white;
}

/* Estilos para lista de barberías */
.barberia-item .card {
    transition: transform 0.3s ease;
}

.barberia-item .card:hover {
    transform: translateY(-5px);
}