/* 
 * Papye Lakay - Request Flow CSS
 * Styling for the document request process sections
 */

/* Common section styles */
.section-padding {
  padding: 60px 0;
}

.hidden {
  display: none !important;
}

/* Service selection section */
.service-selection {
  background-color: var(--light-bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card.selected {
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(210, 34, 38, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.service-price {
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 10px;
  padding: 5px 0;
  font-size: 16px;
  text-align: center;
  border-top: 1px solid #eaeaea;
  display: block;
  width: 100%;
}

.other-document-field {
  margin-top: 15px;
}

.other-document-field input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Personal information form section */
.info-form {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="file"] {
  padding: 10px 0;
}

/* Payment section */
.payment-section {
  background-color: var(--light-bg);
}

.payment-amount {
  font-weight: 700;
  font-size: 1.2em;
  color: var(--primary-color);
}

.payment-container {
  max-width: 500px;
  margin: 30px auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payment-note {
  color: #666;
  font-size: 0.9em;
}

.secure-payment-info {
  margin-top: 30px;
  color: #666;
}

.secure-badges {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.secure-badges i {
  margin: 0 10px;
  color: #888;
}

/* Confirmation section */
.confirmation-section {
  background-color: var(--white);
}

.success-header {
  color: var(--success-color);
}

.confirmation-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 20px;
  display: block;
}

.confirmation-details {
  max-width: 550px;
  margin: 30px auto;
  background-color: var(--light-bg);
  padding: 25px;
  border-radius: 8px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--text-color);
}

.detail-value {
  color: var(--secondary-color);
  font-weight: 500;
}

/* Status section */
.status-section {
  background-color: var(--light-bg);
}

.status-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background-color: #ddd;
}

.form-divider::before {
  left: 0;
}

.form-divider::after {
  right: 0;
}

.form-divider span {
  background-color: var(--white);
  padding: 0 15px;
  position: relative;
  color: #777;
}

.status-result {
  max-width: 600px;
  margin: 30px auto 0;
}

.status-header {
  margin-bottom: 15px;
  text-align: center;
}

.status-card {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.status-info {
  margin-bottom: 20px;
}

.status-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.status-row:last-child {
  border-bottom: none;
}

.status-label {
  width: 120px;
  font-weight: 600;
  color: var(--text-color);
}

.status-badge {
  text-align: center;
  padding: 15px;
  margin-top: 15px;
  border-radius: 6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-badge i {
  margin-right: 10px;
  font-size: 1.2em;
}

.status-badge.processing {
  background-color: #fff8e1;
  color: #f9a825;
}

.status-badge.ready {
  background-color: #e8f5e9;
  color: #43a047;
}

.status-badge.sent {
  background-color: #e3f2fd;
  color: #1e88e5;
}

/* Button container */
.button-container {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-item {
    flex-direction: column;
  }
  
  .detail-label {
    margin-bottom: 5px;
  }
}
