/* 1. Global Reset & Body Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Libre Caslon Text', serif;
    height: 100vh;
}

/* 2. Main Container Split Layout */
.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* 3. Left Sidebar Styling */
.sidebar {
    width: 35%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.logo-container {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    font-size: 2.5rem;
    font-weight: bold;
    gap: 15px;
}

.logo {
    height: 60px;
    width: auto;
}

.credit {
    position: absolute;
    bottom: 15px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* 4. Right Content Panel Styling */
.content-panel {
    width: 65%;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Top Intro Segment */
.intro-section {
    padding: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.intro-section p {
    margin-bottom: 15px;
}

/* Middle Inputs Box */
.form-section {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section h2 {
    margin-bottom: 25px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.form-row {
    display: flex; 
    gap: 30px;
    max-width: 600px;
}

.input-group {
    display: flex; 
    flex-direction: column; 
    flex: 1; 
}

.input-group label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #444;
}

/* Tip 4: Default sharp light gray input border */
.input-group input {
    display: block; 
    width: 100%; 
    padding: 10px 0; 
    border: none; 
    border-bottom: 1px solid #E5E7EB;
    background-color: transparent; 
    font-size: 1rem;
    outline: none; 
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05S)
}

/* Tip 5: Interactive blue border focus style when clicked */
.input-group input:focus {
    border-color: #2563eb; 
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); 
}

/* Tip 4 (Variation 1): Turn red ONLY when the input values are invalid */
.input-group input:user-invalid {
    border-color: #ef4444; 
}

/* 5. Bottom Actions Section */
.action-section {
    padding: 40px;
    background-color: #ffffff;
}

/* Tip 3: Button color code matched exactly */
.action-section button {
    background-color: #596D48; 
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
}

.action-section button:hover {
    background-color: #435236;
}

.action-section a {
    color: #596D48;
    text-decoration: none;
    font-weight: bold;
}
/* Final clean upload */