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

body {
    font-family: var(--gaviscon);
    background: white;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

.logo-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 60px;
    background-color: var(--green);
    width: 50%;
}

.logo-header img {
    height: 60px;
    width: auto;
}

.access-container .logo-header img {
    height: 100px;
    width: auto;
}

.main-wrapper {
    display: flex;
    min-height: 100%;
}

.access-container {
    width: 50%;
    padding: 120px 60px 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    background-color: var(--green);
}

.image-container {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.diagonal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green) 0%, var(--green) 100%);
    clip-path: polygon(0 0, 20% 0, 0% 100%, 0 100%);
    z-index: 1;
}

@media (max-width: 968px) {
    .access-container .logo-header img{
        height: 80px;
    }
    .main-wrapper {
        flex-direction: column;
    }
    
    .access-container {
        width: 100%;
        padding: 100px 30px 40px 30px;
    }
    
    
    .logo-header {
        width: 100%;
        padding: 15px 30px;
    }
    
    .logo-header img {
        height: 40px;
    }
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 32px;
}

p.intro {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

select {
    cursor: pointer;
    background-color: white;
}

input:focus,
select:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid var(--white);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background-color: var(--pink);
}

.checkbox-wrapper label {
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.5;
    flex: 1;
}

.required {
    color: #e74c3c;
}

.message {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
    display: block;
}

.hide {
    display: none !important;
}

.invalidInput {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* INAMI verification styles */
.hidden-fields {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.hidden-fields.show {
    display: block;
    opacity: 1;
}

#inami-message {
    margin-top: 8px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

#inami-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#inami-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

#inami-loader {
    font-size: 14px;
    color: #007bff;
}
