:root {
    --primary-color: #5a8c8c;
    --secondary-color: #7aa6a6;
    --text-color: #2c3e50;
    --border-color: #e0e0e0;
    --hover-color: #f8f9fa;
    --spacing-unit: 1rem;
    --background-color: #f5f7f7;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-unit);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    font-size: 1.3rem;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 500;
    font-size: 1.2em;
    text-align: left;
    width: 100%;
}

input[type="text"],
input[type="date"],
select,
input[type="number"],
textarea {
    width: 100%;
    max-width: 400px;
    padding: 1.1rem;
    margin-bottom: 1.3rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1.2em;
    background: #f5f7fa;
    color: #111;
    box-sizing: border-box;
}

button {
    width: 100%;
    max-width: 400px;
    padding: 1.3rem 0;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #1a2a2a;
    color: #fff;
    letter-spacing: 1px;
    border: 2px solid #5a8c8c;
}

.optional { 
    font-style: italic; 
    color: #666;
    font-size: 0.9rem;
} 

.lamContainer { 
    border: 1px solid var(--border-color); 
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    margin-right: 1.5rem;
    vertical-align: top;
    width: 300px;
}

.lamContainer:last-child {
    margin-right: 0;
}

.lamContainer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    background-color: var(--hover-color);
}

.lamContainer label {
    display: block;
    margin-bottom: 0.5rem;
}

.lamContainer select {
    width: 100%;
    margin-bottom: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }
    
    .lamContainer {
        padding: 1rem;
        width: 100%;
        margin-right: 0;
        display: block;
    }
    
    input[type="text"], 
    input[type="date"], 
    select, 
    input[type="number"] {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
        font-size: 1.3rem;
        background-color: #fff;
    }
    h1 {
        font-size: 2rem;
        text-align: center;
        color: #1a2a2a;
        margin-bottom: 1.2rem;
    }
    form {
        padding: 1.2rem 0.5rem;
        box-sizing: border-box;
        width: 100vw;
        max-width: 98vw;
        margin: 0 auto 2rem auto;
        background: #f9f9f9;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        font-size: 1.2rem;
    }
    label {
        font-size: 1.3rem;
        color: #222;
        margin-bottom: 0.7rem;
        width: 100%;
        text-align: left;
    }
    .optional {
        font-size: 1.1rem;
        color: #444;
    }
    .lamContainer {
        padding: 1rem;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.2rem;
        display: block;
        font-size: 1.2rem;
        box-sizing: border-box;
        border-width: 2px;
        border-color: #b0b0b0;
        background: #fff;
    }
    input[type="text"],
    input[type="date"],
    select,
    input[type="number"],
    textarea {
        max-width: 100vw;
        width: 100vw;
        font-size: 1.3rem;
        padding: 1.1rem;
        box-sizing: border-box;
        border-width: 2px;
        border-color: #888;
        background: #f5f7fa;
        color: #111;
        margin-bottom: 1.2rem;
    }
    input:focus, select:focus, textarea:focus {
        outline: 3px solid #5a8c8c;
        background: #e6f7f7;
    }
    button {
        width: 100%;
        max-width: 100vw;
        padding: 1.3rem 0;
        font-size: 1.4rem;
        margin-bottom: 0.7rem;
        box-sizing: border-box;
        border-radius: 8px;
        background-color: #1a2a2a;
        color: #fff;
        letter-spacing: 1px;
        border: 2px solid #5a8c8c;
    }
    button:hover, button:focus {
        background-color: #5a8c8c;
        color: #fff;
        outline: 3px solid #7aa6a6;
    }
    #lamFelter {
        padding: 0;
    }
    .lamContainer label,
    .lamContainer select,
    .lamContainer input {
        font-size: 1.2rem;
    }
    .lamContainer input,
    .lamContainer select {
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    textarea {
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        font-size: 1.3rem;
        color: #111;
        background: #f5f7fa;
        border-width: 2px;
        border-color: #888;
    }
}

/* Button styling */
button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--secondary-color);
} 