.ar-pk-wrap {
  background: #ffffff;
  border: none;
  box-shadow: none;
  width: 100%;
}

.ar-pk-title {
  font-size: 32px;
  font-weight: 600;
  color: #0b0a0a;
  text-align: left;
  padding-bottom: 2rem;
  line-height: 1.3;
}

.ar-pk-title span {
  display: block;
}

.ar-pk-notice {
  font-size: 12px;
  color: #0b0a0a;
  font-style: normal;
  display: block;
  padding-bottom: 1rem;
}
.ar-pk-required {
  color: #ff0000;
}

/* Row wrapper - two column layout */
.ar-pk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 20px;
}

.ar-pk-field {
  margin: 0 0 20px;
  position: relative;
}

.ar-pk-field label {
  display: block;
  font-weight: 400;
  margin: 0 0 8px;
  color: #0b0a0a;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.ar-pk-field input[type="text"],
.ar-pk-field input[type="email"],
.ar-pk-field textarea {
  width: 100%;
  padding: 0 1rem;
  border: 1px solid #d7d7d6;
  background: #ffffff;
  font-size: 14px;
  color: #0b0a0a;
  transition: border-color 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
  border-radius: 0;
}

.ar-pk-field input[type="text"]:focus,
.ar-pk-field input[type="email"]:focus,
.ar-pk-field textarea:focus {
  outline: none;
  border-color: #666666;
  background: #ffffff;
  box-shadow: none;
}

/* Invalid field styling */
.ar-pk-field input.ar-pk-invalid,
.ar-pk-field textarea.ar-pk-invalid {
  border-color: #cc0000 !important;
  border-width: 2px;
}

.ar-pk-file-label.ar-pk-invalid {
  border-color: #cc0000 !important;
  border-width: 2px;
}

.ar-pk-check input[type="checkbox"].ar-pk-invalid {
  outline: 2px solid #cc0000;
  outline-offset: 2px;
}

.ar-pk-field textarea {
  padding: 0.5rem 1rem;
}

.ar-pk-field input[type="text"]::placeholder,
.ar-pk-field input[type="email"]::placeholder {
  color: #999999;
  opacity: 1;
}

.ar-pk-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

/* File upload field with drag-and-drop styling */
.ar-pk-file-upload {
  position: relative;
  width: 100%;
}

.ar-pk-file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
}

.ar-pk-file-upload label.ar-pk-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border: 1px solid #d7d7d6;
  background: #ffffff;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-height: 120px;
  box-sizing: border-box;
}

.ar-pk-file-upload:hover .ar-pk-file-label {
  border-color: #666666;
}

.ar-pk-file-icon {
  font-size: 32px;
  color: #d7d7d6;
  margin-bottom: 8px;
  line-height: 1;
}

.ar-pk-file-text {
  font-size: 14px;
  color: #999999;
  text-align: center;
}

.ar-pk-file-upload input[type="file"]:focus + .ar-pk-file-label {
  outline: 2px solid #666666;
  outline-offset: 2px;
}

/* Success message */
.ar-pk-success {
  background: #d4edda;
  border: 1px solid #28a745;
  padding: 12px 16px;
  margin: 0 0 20px;
  color: #155724;
  font-weight: 400;
  display: block;
  font-size: 14px;
}

.ar-pk-success::before {
  display: none;
}

/* Error message */
.ar-pk-error {
  background: #ffffff;
  border: 1px solid #cc0000;
  padding: 12px 16px;
  margin: 0 0 20px;
  color: #0b0a0a;
  font-weight: 400;
  display: block;
  box-shadow: none;
  font-size: 14px;
}

.ar-pk-error::before {
  display: none;
}

/* Checkbox styling */
.ar-pk-check {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  transition: none;
  margin-bottom: 16px;
}

.ar-pk-check:last-child {
  margin-bottom: 0;
}

.ar-pk-check input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0b0a0a;
  flex-shrink: 0;
}

.ar-pk-check label {
  font-weight: 400;
  margin: 0;
  color: #0b0a0a;
  line-height: 1.5;
  cursor: pointer;
  font-size: 12px;
}

/* Submit button */
.ar-pk-btn {
  display: inline-block;
  border: none;
  padding: 14px 32px;
  font-weight: 400;
  cursor: pointer;
  background: #0b0a0a;
  color: #ffffff;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color 0.2s ease;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

/* .ar-pk-btn-alt {
  background: #bad9b5;
  border-color: #bad9b5;
  color: #0b0a0a !important;
  padding: 0.875em 2em;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ar-pk-btn-alt:hover {
  background: #0b0a0a;
  border-color: #0b0a0a;
  color: #bad9b5 !important;
} */

.ar-pk-btn-alt {
  color: #0b0a0a !important;
  padding: 0;
  border-bottom: 1px solid #0b0a0a;
  font-size: 20px;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.ar-pk-btn-alt::after {
  content: "›";
  margin-left: 8px;
  display: inline-block;
  transition: all 0.3s ease;
}

.ar-pk-btn-alt:hover {
  color: #bad9b5 !important;
  border-bottom: 1px solid #bad9b5;
}

.ar-pk-btn-alt:hover::after {
  color: #bad9b5 !important;
  transform: translateX(4px);
}

/* Validation error message */
.ar-pk-validation-error {
  color: #cc0000;
  max-width: 300px;
  font-size: 12px;
  margin-top: 0.5rem;
  padding: 0;
  line-height: 1.5;
}

.ar-pk-btn:hover {
  background: #333333;
  transform: none;
  box-shadow: none;
}

.ar-pk-btn:active {
  transform: none;
  box-shadow: none;
}

/* Rules section */
.ar-pk-rules {
  margin-top: 40px;
  padding-top: 30px;
  background: #ffffff;
  padding: 20px 0;
}

.ar-pk-rules h3 {
  margin: 0 0 48px;
  max-width: 390px;
  color: #0b0a0a;
  font-size: 32px;
  display: block;
  font-weight: 600;
  text-transform: uppercase;
}

.ar-pk-rules-content {
  color: #0b0a0a;
  font-size: 16px;
  line-height: 1.6;
}

.ar-pk-rules-content strong {
  padding-top: 1rem;
}

.ar-pk-rules-content p {
  margin: 0 0 12px;
}

.ar-pk-rules-content span {
  font-weight: 600;
}

.ar-pk-rules-content ul,
.ar-pk-rules-content ol {
  margin: 0 0 12px 20px;
  padding: 0;
}

.ar-pk-rules-content li {
  margin: 0 0 8px;
}

.ar-pk-rules-content strong {
  font-weight: 700;
  display: block;
  margin: 20px 0 8px;
}

.ar-pk-rules-content strong:first-child {
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ar-pk-wrap {
    padding: 20px;
  }

  .ar-pk-title {
    font-size: 20px;
  }

  .ar-pk-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ar-pk-row .ar-pk-field {
    margin: 0 0 20px;
  }

  .ar-pk-btn {
    width: 100%;
    text-align: center;
  }
}
