* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: white;
    min-height: 100vh;
}

.min-h-screen {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.video-background .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.5), rgba(0,0,0,0.9));
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Form Wrapper */
.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1280px) {
    .form-wrapper {
        flex-direction: row;
    }
}

/* Hero Image */
.hero-image {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-height: 400px;
}

@media (min-width: 1280px) {
    .hero-image {
        width: 41.666667%;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: all 0.7s;
}

/* Form Container */
.form-container {
    width: 100%;
}

@media (min-width: 1280px) {
    .form-container {
        width: 58.333333%;
    }
}

form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 100px rgba(167, 139, 113, 0.05);
}

@media (min-width: 768px) {
    form {
        padding: 3rem;
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .header h1 {
        font-size: 3rem;
    }
}

.header .gold {
    color: #a78b71;
}

.header p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.header p strong {
    font-weight: 700;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Form Rows */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
    }
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    width: 100%;
}

/* Labels */
.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.form-group:focus-within label {
    color: #a78b71;
}

/* Inputs */
.form-group input,
.form-group select {
    height: 3.5rem;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0 1rem;
    font-size: 1rem;
    color: #f3f4f6;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(167, 139, 113, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group input.readonly-field {
    background-color: rgba(0, 0, 0, 0.3);
    color: #d1d5db;
    cursor: default;
}

.form-group input[type="date"] {
    color-scheme: dark;
}

/* Cédula input group */
.cedula-input-group {
    display: flex;
    gap: 0.5rem;
}

.cedula-input-group input {
    flex: 1;
}

.btn-consultar {
    padding: 0 1.5rem;
    background: linear-gradient(135deg, #a78b71, #c9b8a0);
    color: black;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-consultar:hover:not(:disabled) {
    transform: scale(0.98);
}

.btn-consultar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Status Message */
.status-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.status-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-message.loading {
    background: rgba(167, 139, 113, 0.1);
    color: #a78b71;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #a78b71, #c9b8a0);
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(167, 139, 113, 0.3);
}

.btn-submit:hover:not(:disabled) {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Footer */
.form-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-footer p {
    font-size: 0.875rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    footer {
        flex-direction: row;
    }
}

.footer-logo {
    height: 3rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.5s;
}

.footer-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Select dropdown styles */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a78b71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a78b71;
}

::selection {
    background: #a78b71;
    color: black;
}
.campo-editado {
    border-color: #a78b71 !important;
    box-shadow: 0 0 5px rgba(167, 139, 113, 0.3);
}

.info-manual {
    font-size: 0.75rem;
    color: #a78b71;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(167, 139, 113, 0.1);
    border-radius: 0.5rem;
    text-align: center;
}