
/*
Theme Name: Jari
Description: A custom WordPress theme built from scratch
Version: 1.0
Author: Negi
*/

/* Reset and Base Styles */
/* popup css */
#popupOverlay .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  color: white;
}

#popupOverlay .container h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

#popupOverlay .container p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

#popupOverlay .open-btn {
  background: #fff;
  color: #667eea;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#popupOverlay .open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
  transform: scale(1);
}

.popup-header {
  background: #667eea;
  color: white;
  padding: 20px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Form Styles */
.application-form {
  padding: 30px;
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  color: #667eea;
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group,
.rating-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.radio-group input[type="radio"],
.rating-group input[type="radio"] {
  margin-right: 5px;
}

.radio-group label,
.rating-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 0;
}

.rating-group {
  flex-direction: column;
  gap: 10px;
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  display: block;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.cancel-btn,
.submit-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-btn {
  background: #f8f9fa;
  color: #6c757d;
  border: 2px solid #e9ecef;
}

.cancel-btn:hover {
  background: #e9ecef;
}

.submit-btn {
  background: #667eea;
  color: white;
  flex: 1;
}

.submit-btn:hover {
  background: #5a6fd8;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-message.active {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.success-content h3 {
  color: #27ae60;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.success-content p {
  margin-bottom: 25px;
  color: #666;
}

.close-success-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.close-success-btn:hover {
  background: #219a52;
}
.bg-primary{
background: linear-gradient(135deg, #ffd700, #ffb347);
}
.modal-body{
  padding:0px 0px 20px 0px !important;
}
/* Responsive Design */
@media (max-width: 768px) {
  .container h1 {
    font-size: 2rem;
  }

  .popup-container {
    width: 95%;
    margin: 10px;
  }

  .application-form {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .radio-group,
  .rating-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* Custom Scrollbar */
.popup-container::-webkit-scrollbar {
  width: 8px;
}

.popup-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.popup-container::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

.popup-container::-webkit-scrollbar-thumb:hover {
  background: #5a6fd8;
}
