/* Base Styles */
.hireva-container {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hireva-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.hireva-header h2 {
  color: #2c3e50;
  font-size: 28px;
  margin-bottom: 10px;
}

.hireva-header p {
  color: #7f8c8d;
  font-size: 16px;
}

.hireva-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Input Section Styles */
.hireva-input-section {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.input-method-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.tab-button {
  padding: 10px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #7f8c8d;
  position: relative;
}

.tab-button.active {
  color: #3498db;
}

.tab-button.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3498db;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #3498db;
}

select.form-control[multiple] {
  height: auto;
  min-height: 120px;
}

input[type="range"].form-control {
  padding: 0;
  height: 8px;
  -webkit-appearance: none;
  width: 100%;
  background: #ddd;
  border-radius: 4px;
  margin-top: 10px;
}

input[type="range"].form-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #3498db;
  border-radius: 50%;
  cursor: pointer;
}

#hours-value {
  display: inline-block;
  margin-top: 5px;
  font-size: 14px;
  color: #3498db;
  font-weight: 600;
}

.file-upload-area {
  text-align: center;
  padding: 20px;
  border: 2px dashed #ddd;
  border-radius: 6px;
  margin-bottom: 20px;
}

.file-upload-area p {
  margin-bottom: 15px;
  color: #7f8c8d;
}

.upload-preview {
  min-height: 100px;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
}

.voice-input-area {
  text-align: center;
}

.voice-button {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.voice-button:hover {
  background: #2980b9;
}

.voice-button i {
  font-size: 18px;
}

.voice-status {
  margin-top: 15px;
  color: #7f8c8d;
  font-size: 14px;
}

.voice-transcript {
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  min-height: 60px;
  background: #fff;
}

.calculate-button {
  width: 100%;
  padding: 15px;
  background: #2ecc71;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s;
}

.calculate-button:hover {
  background: #27ae60;
}

/* Results Section Styles */
.hireva-results-section {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.results-header h3 {
  color: #2c3e50;
  font-size: 22px;
  margin: 0;
}

.roi-badge {
  background: #f1c40f;
  color: #2c3e50;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

.results-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.results-tab-button {
  padding: 10px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #7f8c8d;
  position: relative;
}

.results-tab-button.active {
  color: #3498db;
}

.results-tab-button.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3498db;
}

.results-tab-content {
  display: none;
  min-height: 300px;
}

.results-tab-content.active {
  display: block;
}

.cost-summary {
  margin-bottom: 25px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cost-item.total {
  border-top: 2px solid #3498db;
  margin-top: 10px;
  font-weight: 600;
  color: #2c3e50;
}

.cost-label {
  color: #7f8c8d;
}

.cost-value {
  font-weight: 600;
  color: #2c3e50;
}

.time-savings {
  margin-top: 30px;
}

.time-savings h4 {
  margin-bottom: 15px;
  color: #2c3e50;
}

.savings-bar {
  height: 10px;
  background: #ecf0f1;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.savings-fill {
  height: 100%;
  background: linear-gradient(90deg, #2ecc71, #3498db);
  border-radius: 5px;
  transition: width 0.5s ease;
}

.savings-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #7f8c8d;
}

.delegation-phases {
  margin-bottom: 20px;
}

.phase {
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #3498db;
}

.phase h5 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #2c3e50;
}

.phase-tasks {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.phase-tasks li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.phase-tasks li:before {
  content: '•';
  color: #3498db;
  margin-right: 8px;
}

.risk-alert {
  padding: 10px;
  background: #fff8e1;
  border-left: 4px solid #f1c40f;
  margin-top: 10px;
  font-size: 14px;
}

.recommendations {
  margin-top: 30px;
}

.recommendation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background: #e3f2fd;
  border-radius: 6px;
  margin-bottom: 10px;
}

.recommendation i {
  color: #3498db;
  font-size: 20px;
  margin-top: 2px;
}

.recommendation p {
  margin: 0;
  color: #2c3e50;
}

.visualization-container {
  height: 250px;
  margin-bottom: 20px;
}

.scenario-comparison table {
  width: 100%;
  border-collapse: collapse;
}

.scenario-comparison th, 
.scenario-comparison td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.scenario-comparison th {
  color: #7f8c8d;
  font-weight: 600;
}

.scenario-comparison tr:last-child td {
  border-bottom: none;
}

.cta-section {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.cta-button {
  flex: 1;
  padding: 15px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-button:hover {
  background: #2980b9;
}

#download-report-btn {
  flex: 1;
  padding: 15px;
  background: white;
  color: #3498db;
  border: 1px solid #3498db;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

#download-report-btn:hover {
  background: #f8f9fa;
}

.hireva-footer {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #7f8c8d;
  font-size: 14px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 5px 10px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 12px;
}

.security-badge i {
  color: #2ecc71;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hireva-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    flex-direction: column;
  }
}
.tasks-checkbox-container label {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  background: #ecf0f1;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.tasks-checkbox-container input[type="checkbox"] {
  margin-right: 6px;
}

#report-content h2, h3 {
  color: #2c3e50;
  margin-bottom: 10px;
}

#report-content section {
  margin-bottom: 30px;
  page-break-inside: avoid;
}

#report-content ul {
  padding-left: 20px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-logo {
  height: 60px;
  margin-bottom: 1rem;
}

.modal-content input {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.modal-content button {
  width: 100%;
  background-color: #28a745;
  border: none;
  color: white;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #218838;
}

#user-info-form{
  width:94%;
}

/* Font Awesome Icons (if not already loaded) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');