body{
        background: #f7f9fb;
}
.sec1 {
  background: #f7f9fb;
  padding: 40px 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.sec1 h1 {
  margin-left: 56px;
  color: #1a2746;
  font-size: 28px;
  font-weight: 700;
}
.qr-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30, 42, 80, 0.06);
  max-width: 800px;
  margin-left: 60px;
  padding: 32px 30px 50px 24px;
}
.qr-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.qr-icon {
  font-size: 2.5rem;
  margin-right: 8px;
}
.qr-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a2746;
  margin-right: auto;
}
.bulk-link {
  color: #1976d2;
  text-decoration: none;
  font-size: 1rem;
  margin-left: 16px;
}
.bulk-link:hover {
  text-decoration: underline;
}
.qr-desc {
  color: #3a4a6b;
  font-size: 1rem;
  margin-bottom: 20px;
}
.qr-input-row {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.qr-input-row input[type="text"] {
  flex: 1;
  padding: 12px;
  border: 1px solid #dbe3ec;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
.qr-input-row input[type="text"]:focus {
  border-color: #1976d2;
}
.qr-create-btn {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 43px;
    padding: 0px 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    height: 44px;
}
.qr-create-btn:hover {
  background: #125ea7;
}
.qr-char-count {
  text-align: right;
  color: #7a8ca7;
  font-size: 0.9rem;
}



.input-with-count {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sec2 {
  background: #f7f9fb;
  padding: 0 0 40px 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.sec2-main {
  max-width: 1100px;
  margin: 0 auto;
}
.sec2-divider {
      display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8ca7;
    font-size: 1.1rem;
    font-weight: 500;
    width: 706px;
    margin-top: 0px;
    margin-bottom: 16px;
}
.sec2-divider:before,
.sec2-divider:after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #e3e8f0;
  margin: 0 16px;
}
.sec2-content {
  display: flex;
  gap: 40px;
}
.sec2-types {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sec2-type-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}
.sec2-type-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  flex: 1;
  min-width: 295px;
  cursor: pointer;
  transition: box-shadow 0.2s, border 0.2s;
  border: 2px solid transparent;
}
.sec2-type-card:hover, .sec2-type-card:focus {
  border: 2px solid #1976d2;
  box-shadow: 0 4px 16px rgba(30, 42, 80, 0.10);
}
.sec2-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f4fa;
  border-radius: 8px;
}
.sec2-type-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2746;
}
.sec2-type-desc {
  font-size: 0.98rem;
  color: #7a8ca7;
}
.sec2-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}
.sec2-preview-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 12px;

}
.sec2-preview-text {
  color: #7a8ca7;
  font-size: 1.1rem;
  text-align: center;
  max-width: 180px;
}

.sec2-divider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  position: relative;
}

.sec2-dividers {
   display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8ca7;
    font-size: 1.1rem;
    font-weight: 500;
    width: 706px;
    margin-top: 18px;
    margin-bottom: 16px;
}

.sec2-dividers:before,
.sec2-dividers:after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #e3e8f0;
  margin: 0 16px;
}

.toggle-icon {
  font-size: 20px;
  cursor: pointer;
  color: #7a8ca7;
  user-select: none;
  transition: transform 0.2s ease;
}

.toggle-icon:hover {
  transform: scale(1.2);
  color: #475569;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
  animation: fadeIn 0.3s ease-in-out;
  /* width: 706px; */
}

.qr-type-card {
  background: #f9fafb;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  color: #334155;
}


.get-started-btn {
     background-color: #0074e0;
    color: #fff;
    border: none;
    padding: 14px 80px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;

}

.get-started-btn:hover {
  background-color: #005bb5;
}
.btn{
  display: flex;
  justify-content: center;
  align-items: center;
   width: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

.close {
    color: #9ca3af;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #374151;
}

.modal-body {
    padding: 32px;
}

.qr-preview {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
}

.customization-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.option-group input[type="color"] {
    width: 100%;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.option-group input[type="color"]:hover {
    border-color: #d1d5db;
}

.option-group select {
    width: 100%;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.option-group select:hover {
    border-color: #d1d5db;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.download-btn, .save-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.download-btn {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.download-btn:hover {
    background-color: #e5e7eb;
}

.save-btn {
    background-color: #3b82f6;
    color: white;
}

.save-btn:hover {
    background-color: #2563eb;
}

/* Form Styles */
#qrForm {
    margin: 0;
}

.error-message, .success-message {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.error-message {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.success-message {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .customization-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .download-btn, .save-btn {
        width: 100%;
    }
}

/* Character count styles */
.qr-char-count {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #9ca3af;
}

/* Input styles */
.input-with-count {
    position: relative;
    flex: 1;
}

.input-with-count input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.input-with-count input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Button styles */
.qr-create-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.qr-create-btn:hover {
    background-color: #2563eb;
}

.qr-create-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}






