/* --- Global Variables --- */
:root {
    --primary-color: #2c3e50;    /* Dark Blue/Grey */
    --accent-color: #3498db;     /* Bright Blue */
    --orange-color: #db7f34;     /* Bright Blue */
    --text-color: #333;
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --input-bg: #f9f9f9;
    --border-radius: 5px;
    --main-font: 'Trebuchet MS';
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--main-font);
    height: 100vh;
    display: flex;
    overflow: hidden; /* Prevents double scrollbars */
}

/* --- Split Screen Layout --- */
.split-screen {
    display: flex;
    width: 100%;
    height: 100%;
}

/* --- Left Panel (Branding) --- */
.left-panel {
    width: 60%;
    background: linear-gradient(135deg, var(--primary-color), #1a252f);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.logo-placeholder {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.logo-placeholder img{
    width: 100%;
  

}

.left-panel h2 { margin-bottom: 1rem; }
.left-panel p { opacity: 0.8; margin-bottom: 2rem; line-height: 1.6; }

.contact-info {
    margin-top: auto;
    font-size: 0.9rem;
    opacity: 0.7;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.nav-links a:hover { border-bottom: 1px solid var(--accent-color); }

/* --- Right Panel (Form) --- */
.right-panel {
    width: 40%;
    background-color: var(--white);
    overflow-y: auto; /* Allows form to scroll */
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container {
    width: 100%;
    max-width: 500px;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 { color: var(--primary-color); margin-bottom: 0.5rem; }

/* --- Form Elements --- */
.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: var(--input-bg);
    font-size: .9rem;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover { background-color: #2980b9; }

.row {
    display: flex;
    gap: 15px;
}
.col { flex: 1; }

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.login-link a { color: var(--accent-color); text-decoration: none; }

/* --- HOME PAGE START --- */
.home{
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #1a252f);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.home .nav-links{
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home .nav-links a{
    border: 1px solid white;
    padding: 10px 50px;
    border-radius: 50px;
}

.home .nav-links a:hover{
  background-color: #2980b9;
}
/* --- HOME PAGE END --- */

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    body { height: auto; overflow: auto; }
    .split-screen { flex-direction: column; }
    .left-panel, .right-panel { width: 100%; height: auto; }
    .left-panel { padding: 1rem 2rem; }
    .right-panel { padding: 2rem 3rem; }
    .logo-placeholder {margin: 0;}
    .home{height: 100vh;}
    h2{font-size: 1.2rem;}
    p{font-size: .9rem;}
}


/* --- Dashboard Split Layout (Profile Page) --- */
.dashboard-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto; /* Centers the whole block */
    gap: 20px;
    padding: 0 20px;
    align-items: flex-start; /* Aligns tops of cards */
}

/* Left Panel: T-Shirt */
.dash-left {
    width: 40%;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid #e67e22; /* Orange accent for T-shirt */
}

/* Right Panel: Profile */
.dash-right {
    width: 60%;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-color);
}

/* T-Shirt Specific Styles */
.size-selector {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.size-option {
    position: relative;
}

.size-option input {
    display: none; /* Hide actual radio button */
}

.size-option label {
    display: block;
    padding: 10px 20px;
    background: #eee;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: 0.2s;
}

.size-option input:checked + label {
    background: #e67e22;
    color: white;
}

.tshirt-toggle {
    background: #fdfdfd;
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
}

.tshirt-toggle.active {
    border-color: #e67e22;
    background: #fff8f0;
}

/* Responsive Dashboard */
@media (max-width: 900px) {
    .dashboard-container {
        flex-direction: column;
    }
    .dash-left, .dash-right {
        width: 100%;
    }
}