﻿/* Google font import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

.form-container {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 260px 1fr;
    column-gap: 20px;
    row-gap: 12px;
    align-items: center;
}

/* LABEL STYLING */
.form-container label {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    text-align: right;
    padding-right: 10px;
    white-space: nowrap;
}

/* INPUT / DROPDOWN STYLING */
.form-container .input,
.form-container select {
    padding: 10px;
    width: 100% !important;
    border-radius: 6px;
    border: 1px solid #aaa;
    font-size: 14px;
						  
											   
				 
}

/* ERROR MESSAGE (Validation Controls) */
.error {
    grid-column: 2 / 3;
    color: #d10000;
			
																  
    font-size: 13px;
    margin-top: -5px;
}
:root{
  --bg: #f4f7fb;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #3b82f6;
  --accent-2: #7c3aed;
  --danger: #ef4444;
  --success: #10b981;
  --input-border: #e6e9ef;
  --shadow: 0 10px 30px rgba(18, 38, 63, 0.06);
  --radius: 12px;
}

/* Page */
html,body{
  height:100%;
  margin:0;
  padding:0;
  background: linear-gradient(180deg, #f7fbff 0%, var(--bg) 100%);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:#1f2937;
}

/* Header */
.header-bar {
    background-color: #0C3B6F;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    border-bottom: 4px solid #F2B705;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logos container */
.logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap; /* ✅ Ensures clean stacking on small screens */
}

/* Logo styling */
.logo-small {
    width: 3cm;
    height: auto;
    max-height: 3cm;
    object-fit: contain;
}

/* Title styling */
.page-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-left: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* Form Grid */
.form-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 20px;
}

@media (min-width: 880px){
  .form-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.form-grid .full {
  grid-column: 1 / -1;
}

/* Inputs */
.input{
  padding: 10px 12px;
  border-radius: 10px;
  transition: .18s ease;
}

.input:focus{
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(59,130,246,0.12);
}

/* Dropdown arrow */
select.input{
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
                    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px),
                       calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

textarea.input {
  min-height: 90px;
}

/* Buttons */
.button {
  cursor: pointer;
  width:100%;
  height:44px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  border-radius:10px;
  font-weight:600;
  transition: .12s ease;
}

.button:hover{
  transform: translateY(-2px);
}

/* Validation */
.error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
}

/* Mobile Styling */
@media(max-width:600px){
  .page-title {
    font-size:22px;
    margin-top:10px;
  }
  .logo-small {
    width:2.2cm;
    max-height:2.2cm;
  }
}
/* ✅ Center Submit Button */
.submit-row {
    grid-column: 1 / -1 !important; /* full row */
    text-align: center !important;
}

.submit-row .button {
    width: 200px !important;
    display: inline-block !important;
}

/* ✅ Align Email Textbox to Right Column */
.email-field {
    grid-column: 2 / 3 !important;
    width: 100% !important;
}

/* ✅ Time of Birth 3 Dropdowns in One Row */
.time-wrapper {
    grid-column: 2 / 3 !important; /* in right column */
    display: flex !important;
    gap: 10px;
}

.time-wrapper select {
    width: 100% !important;
}
.instructions-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* ✅ Main Box Styling */
.instructions {
    max-width: 900px;       /* Increased width */
    width: 100%;
    background-color: #ffffff;
    padding: 30px;          /* More padding */
    border-radius: 14px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    font-size: 16px;        /* Slightly bigger text */
    line-height: 1.8;
}

/* ✅ Heading Styling */
.instructions h3 {
    color: #003366;
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ✅ Bullet styling */
.instructions ul {
    padding-left: 35px;
    list-style-type: disc;
    color: #444;
}
