 /* CORE STYLES */
 :root {
   --primary: #003366;
   --accent: #d9534f;
   --highlight: #ffcc00;
   --light: #f4f4f4;
   --text: #333;
 }

 body {
   font-family: 'Segoe UI', sans-serif;
   margin: 0;
   padding: 0;
   background: var(--light);
   color: var(--text);
   display: flex;
   flex-direction: column;
   min-height: 100vh;
 }

 /* HEADER */
 header {
   background: var(--primary);
   color: white;
   padding: 1rem 0;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
   position: sticky;
   top: 0;
   z-index: 1000;
 }

 .header-content {
   max-width: 1100px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 0 20px;
 }

 .logo-area {
   font-size: 1.5rem;
   font-weight: bold;
   display: flex;
   align-items: center;
   gap: 10px;
 }

 .logo-placeholder {
   width: 40px;
   height: 40px;
   background: white;
   color: var(--primary);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 10px;
   border: 2px solid #ccc;
 }

 nav a {
   color: white;
   text-decoration: none;
   margin-left: 20px;
   font-weight: 500;
   font-size: 0.95rem;
 }

 nav a:hover {
   color: var(--highlight);
 }

 /* MAIN CONTENT */
 main {
   flex: 1;
   max-width: 1100px;
   margin: 0 auto;
   padding: 20px;
   width: 100%;
   box-sizing: border-box;
 }

 /* HERO SECTION */
 .hero {
   background: linear-gradient(135deg, #003366 0%, #001a33 100%);
   color: white;
   padding: 50px 20px;
   border-radius: 8px;
   text-align: center;
   margin-bottom: 30px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
   position: relative;
   overflow: hidden;
 }

 .badge-mega {
   background: var(--accent);
   color: white;
   padding: 5px 15px;
   text-transform: uppercase;
   font-weight: bold;
   border-radius: 20px;
   font-size: 0.9rem;
   display: inline-block;
   margin-bottom: 10px;
   animation: pulse 2s infinite;
 }

 .hero h1 {
   margin: 10px 0;
   font-size: 3rem;
   line-height: 1.2;
   text-transform: uppercase;
   letter-spacing: 1px;
 }

 .hero .subtitle {
   font-size: 1.2rem;
   color: var(--highlight);
   margin-bottom: 20px;
   font-weight: 600;
 }

 .venue-info {
   background: rgba(255, 255, 255, 0.1);
   display: inline-block;
   padding: 10px 20px;
   border-radius: 5px;
   margin-top: 10px;
 }

 /* ABOUT EVENT SECTION */
 .about-fair {
   background: white;
   padding: 40px;
   border-radius: 8px;
   margin-bottom: 30px;
   border-left: 6px solid var(--accent);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 }

 .about-fair h2 {
   color: var(--primary);
   margin-top: 0;
 }

 .about-fair p {
   font-size: 1.05rem;
   line-height: 1.7;
   color: #555;
 }

 /* SOCIAL MEDIA POSTERS SECTION (NEW) */
 .social-media-section {
   margin-bottom: 40px;
   text-align: center;
 }

 .social-media-section h3 {
   color: var(--primary);
   margin-bottom: 20px;
   font-size: 1.5rem;
 }

 .poster-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
   max-width: 900px;
   margin: 0 auto;
 }

 .poster-card {
   background: white;
   padding: 10px;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
 }

 .poster-card:hover {
   transform: translateY(-5px);
 }

 .poster-img {
   width: 100%;
   aspect-ratio: 1 / 1;
   /* Forces Square Ratio */
   object-fit: cover;
   border-radius: 4px;
   background-color: #eee;
   display: block;
 }

 .poster-caption {
   margin-top: 10px;
   font-weight: bold;
   color: #555;
 }

 /* REGISTER CTA SECTION */
 .register-cta {
   background: #eef7ff;
   text-align: center;
   padding: 30px;
   border-radius: 8px;
   border: 2px dashed var(--primary);
   margin-bottom: 40px;
 }

 .btn-register {
   display: inline-block;
   background: var(--accent);
   color: white;
   padding: 15px 40px;
   font-size: 1.3rem;
   font-weight: bold;
   text-decoration: none;
   border-radius: 50px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
   transition: transform 0.2s;
 }

 .btn-register:hover {
   transform: scale(1.05);
   background: #c9302c;
 }

 /* COMPANY PROFILE & GRIDS */
 .company-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 20px;
   border-bottom: 2px solid #ddd;
   padding-bottom: 10px;
 }

 .company-profile {
   background: white;
   padding: 30px;
   border-radius: 8px;
   margin-bottom: 20px;
 }

 .image-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
   margin: 20px 0;
 }

 .img-box {
   height: 250px;
   background: #ddd;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 8px;
   color: #666;
   font-size: 1.2rem;
   border: 2px dashed #999;
 }

 .info-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
   margin-top: 20px;
 }

 .card {
   background: #f8f9fa;
   padding: 20px;
   border-radius: 8px;
   border-top: 4px solid var(--primary);
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
 }

 .card h3 {
   margin-top: 0;
   color: var(--primary);
 }

 .important {
   color: var(--accent);
   font-weight: bold;
 }

 /* FOOTER */
 footer {
   background: #222;
   color: white;
   text-align: center;
   padding: 30px 20px;
   margin-top: auto;
 }

 footer p {
   margin: 5px 0;
   font-size: 0.9rem;
   color: #bbb;
 }

 @keyframes pulse {
   0% {
     opacity: 1;
   }

   50% {
     opacity: 0.7;
   }

   100% {
     opacity: 1;
   }
 }

 @media (max-width: 768px) {
   .hero h1 {
     font-size: 2rem;
   }

   .image-grid,
   .info-grid,
   .poster-grid {
     grid-template-columns: 1fr;
   }

   .header-content {
     flex-direction: column;
     gap: 10px;
   }
 }

 .form-container {
   background: white;
   max-width: 500px;
   margin: 50px auto;
   padding: 40px;
   border-radius: 8px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 h2 {
   text-align: center;
   color: var(--primary);
   margin-top: 0;
 }

 .fee-badge {
   background: var(--accent);
   color: white;
   text-align: center;
   padding: 5px;
   border-radius: 4px;
   margin-bottom: 20px;
 }

 label {
   display: block;
   margin: 15px 0 5px;
   font-weight: bold;
 }

 input {
   width: 100%;
   padding: 12px;
   border: 1px solid #ccc;
   border-radius: 4px;
   box-sizing: border-box;
 }

 button {
   width: 100%;
   background: var(--primary);
   color: white;
   padding: 15px;
   border: none;
   border-radius: 4px;
   margin-top: 20px;
   font-size: 1.1rem;
   cursor: pointer;
 }

 button:hover {
   background: #002244;
 }


 .container {
   max-width: 900px;
   margin: 30px auto;
   background: white;
   padding: 40px;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

.container1 {
   max-width: 900px;
   margin: 30px auto;
   padding: 40px;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }
 h2 {
   color: var(--primary);
   border-bottom: 2px solid #eee;
   padding-bottom: 10px;
   margin-top: 0;
 }

 h3 {
   padding: 10px;
   border-left: 5px solid var(--primary);
   font-size: 1.1rem;
   margin-top: 30px;
 }

 p.note {
   font-size: 0.85rem;
   color: #666;
   margin-top: 5px;
 }

 /* FORM ELEMENTS */
 .grid-2 {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
 }

 .grid-3 {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 15px;
 }

 .grid-4 {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr 1fr;
   gap: 10px;
 }

 .form-group {
   margin-bottom: 15px;
 }

 label {
   display: block;
   margin-bottom: 5px;
   font-weight: 600;
   font-size: 0.9rem;
 }

 input,
 select,
 textarea {
   width: 100%;
   padding: 10px;
   border: 1px solid #ccc;
   border-radius: 4px;
   box-sizing: border-box;
   font-family: inherit;
 }

 /* DYNAMIC ROWS */
 .dynamic-row {
   background: #f9f9f9;
   padding: 15px;
   border: 1px solid #ddd;
   margin-bottom: 10px;
   border-radius: 4px;
   position: relative;
 }

 .btn-add {
   background: var(--primary);
   color: white;
   padding: 8px 15px;
   border: none;
   cursor: pointer;
   border-radius: 4px;
   font-size: 0.9rem;
   margin-bottom: 10px;
 }

 .btn-remove {
   background: var(--red);
   color: white;
   border: none;
   cursor: pointer;
   padding: 5px 10px;
   border-radius: 4px;
   /* position: absolute; */
   top: 10px;
   right: 10px;
   font-size: 0.8rem;
 }

 /* SUBMIT BUTTON */
 .btn-gen {
   background: #28a745;
   color: white;
   padding: 15px 30px;
   border: none;
   width: 100%;
   font-size: 1.2rem;
   cursor: pointer;
   border-radius: 4px;
   margin-top: 30px;
   font-weight: bold;
 }

 .btn-gen:hover {
   background: #218838;
 }

 /* PRINT MEDIA & RESUME PREVIEW */
 #resume-output {
   display: none;
   background: white;
   width: 210mm;
   min-height: 297mm;
   margin: 20px auto;
   padding: 40px;
   box-sizing: border-box;
   box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
 }

 /* RESUME STYLING */
 .res-header {
   display: flex;
   justify-content: space-between;
   border-bottom: 2px solid #333;
   padding-bottom: 15px;
   margin-bottom: 20px;
 }

 .res-title {
   text-transform: uppercase;
   margin: 0;
   color: #000;
   font-size: 24px;
 }

 .res-info {
   font-size: 14px;
   margin: 2px 0;
 }

 .res-photo {
   width: 110px;
   height: 130px;
   object-fit: cover;
   border: 1px solid #333;
   background: #eee;
 }

 .res-section {
   margin-bottom: 20px;
 }

 .res-heading {
   background: #eee;
   font-weight: bold;
   padding: 5px 10px;
   border-left: 4px solid #333;
   margin-bottom: 10px;
   text-transform: uppercase;
   font-size: 14px;
 }

 /* RESUME TABLES */
 .res-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 13px;
   margin-bottom: 10px;
 }

 .res-table th,
 .res-table td {
   border: 1px solid #999;
   padding: 6px 8px;
   text-align: left;
   vertical-align: top;
 }

 .res-table th {
   background: #f0f0f0;
 }

 .col-sr {
   width: 30px;
   text-align: center;
 }

 /* Experience Block */
 .exp-block {
   margin-bottom: 15px;
   border-bottom: 1px dashed #ccc;
   padding-bottom: 10px;
 }

 .exp-header {
   display: flex;
   justify-content: space-between;
   font-weight: bold;
   margin-bottom: 5px;
   font-size: 14px;
 }

 .exp-sub {
   font-size: 13px;
   margin-bottom: 5px;
   font-style: italic;
 }

 .exp-details {
   font-size: 13px;
   padding-left: 15px;
 }

 .exp-details li {
   margin-bottom: 2px;
 }

 /* Skill Grid */
 .skill-category {
   margin-bottom: 10px;
 }

 .skill-cat-title {
   font-weight: bold;
   font-size: 13px;
   color: var(--primary);
   margin-bottom: 3px;
   border-bottom: 1px solid #ddd;
   display: inline-block;
 }

 .skill-grid-display {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 10px;
   font-size: 13px;
 }

 /* Project Block */
 .proj-item {
   margin-bottom: 10px;
   font-size: 13px;
 }

 .proj-title {
   font-weight: bold;
 }

 @media print {
   body * {
     visibility: hidden;
   }

   #resume-output,
   #resume-output * {
     visibility: visible;
   }

   #resume-output {
     position: absolute;
     left: 0;
     top: 0;
     width: 100%;
     margin: 0;
     padding: 30px;
     box-shadow: none;
   }

   .no-print {
     display: none !important;
   }
 }


 /* ================= TRANSACTION TABLE ================= */
 .transaction-card {
   border-radius: 14px;
   overflow: hidden;
 }

 .transaction-card .card-header {
   background: linear-gradient(135deg, #1d2671, #c33764);
   color: #fff;
   padding: 16px 20px;
 }

 .transaction-table thead {
   background: #f8f9fa;
 }

 .transaction-table thead th {
   text-transform: uppercase;
   font-size: 12px;
   letter-spacing: 0.5px;
   color: #555;
   padding: 14px;
 }

 .transaction-table tbody td {
   padding: 14px;
   vertical-align: middle;
 }

 .transaction-table tbody tr {
   transition: all 0.25s ease;
 }

 .transaction-table tbody tr:hover {
   background: #f1f5ff;
 }

 /* Order ID */
 .order-id {
   font-family: monospace;
   font-size: 14px;
   background: #eef2ff;
   padding: 4px 10px;
   border-radius: 6px;
 }

 /* Status Badges */
 .status-badge {
   padding: 6px 14px;
   border-radius: 20px;
   font-size: 12px;
   font-weight: 600;
   display: inline-block;
 }

 .status-badge.success {
   background: #e6f9f0;
   color: #0f9d58;
 }

 .status-badge.pending {
   background: #fff7e6;
   color: #f4b400;
 }

 .status-badge.failed {
   background: #fdecea;
   color: #d93025;
 }


 .password-wrapper {
   position: relative;
   width: 100%;
 }

 .password-wrapper input {
   width: 100%;
   padding-right: 40px;
 }

 .toggle-password {
   position: absolute;
   top: 50%;
   right: 12px;
   transform: translateY(-50%);
   cursor: pointer;
   font-size: 18px;
   color: #555;
 }

 .logo-area {
   display: flex;
   align-items: center;
   gap: 12px;
 }

 .logo-placeholder {
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .site-logo {
   width: 50px;
   height: auto;
 }

 .brand-name {
   font-size: 18px;
   font-weight: 600;
   letter-spacing: 0.5px;
   white-space: nowrap;
 }