/* Registro Page Styles - Simple and Clean */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background-image: url('../img/bg_index.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: -1;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.registro-container {
    background: rgba(30, 30, 35, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    height: 580px;
}

.registro-left {
    padding: 30px;
    color: white;
    overflow-y: auto;
    max-height: 580px;
}

.registro-left::-webkit-scrollbar {
    width: 4px;
}

.registro-left::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.registro-header {
    text-align: center;
    margin-bottom: 20px;
}

.registro-header i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.registro-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 5px 0;
}

.registro-header p {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.alert {
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    padding: 8px 10px;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    color: #51cf66;
}

.form-floating {
    position: relative;
    margin-bottom: 1rem;
}

.form-floating > .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 10px;
    border-radius: 5px;
    height: 42px;
    font-size: 0.9rem;
}

.form-floating > .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: #2563eb;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.2);
    color: #fff;
}

.form-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    padding: 10px 12px !important;
    border-radius: 5px !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    background: rgba(255,255,255,0.1) !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.2) !important;
    color: #fff !important;
}

.form-floating > label {
    display: none;
}

.btn-primary {
    background: linear-gradient(45deg, #2563eb, #1e40af);
    border: none;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 8px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.text-center {
    text-align: center;
    font-size: 0.75rem;
}

.text-center p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.text-center a {
    color: #2563eb;
    text-decoration: none;
}

.text-center a:hover {
    text-decoration: underline;
}

.registro-right {
    display: none;
    background: #000;
    overflow: hidden;
}

.registro-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .registro-container {
        grid-template-columns: 1fr;
        height: auto;
        max-height: calc(100vh - 120px);
    }

    .registro-left {
        max-height: none;
        padding: 20px;
    }

    main {
        padding: 20px 10px;
    }
}

@media (min-width: 769px) {
    .registro-right {
        display: block;
    }
}

footer {
    margin-top: auto;
    flex-shrink: 0;
}
