/* Wrapper card */
.idpg-wrapper {
  max-width: 900px;
  margin: 50px auto;
  font-family: Inter, Arial, sans-serif;
}

.idpg-hero {
  text-align: center;
  margin-bottom: 40px;
}
.processing-btn {
    background: #9ca3af;
    opacity: 0.6;
    cursor: not-allowed;
    margin-top: 15px;
}
.idpg-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}


.step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}

.step.active {
  opacity: 1;
}

.step span {
  width: 32px;
  height: 32px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idpg-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.type-card {
    cursor: pointer;
    border: 2px solid transparent;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    transition: 0.3s;
}
.idpg-selected-type {
    margin-top: 15px;
    font-weight: 500;
    color: #374151;
    border: 2px solid #2563eb;
    background: #eff6ff;
    padding: 10px;
    border-radius: 10px;
}
.type-card input {
  display: none;
}

.type-card.active,
.type-card:hover {
  border-color: #2563eb;
    background: #eff6ff;
}

.idpg-upload-box {
  border: 2px dashed #ccc;
  padding: 40px;
  text-align: center;
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 20px;
}

.idpg-upload-box.dragover {
  border-color: #2563eb;
  background: #eef2ff;
}

.idpg-btn {
  background: #2563eb;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.success-btn {
  background: #16a34a;
}

.idpg-watermark-note {
    margin-top: 15px;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.idpg-preview-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.primary-btn {
    background: #2563eb;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.primary-btn:hover {
    background: #1d4ed8;
}

.outline-btn {
    background: #fff;
    color: #111;
    padding: 12px 22px;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    cursor: pointer;
    font-weight: 600;
}

.outline-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.idpg-upload-wrapper {
    text-align: center;
    margin-top: 40px;
}

.idpg-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 60px 20px;
    background: #f9fafb;
    transition: 0.3s ease;
}

.idpg-upload-area.dragover {
    border-color: #2563eb;
    background: #eef2ff;
}

.idpg-upload-icon {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 15px;
}

.idpg-upload-area h3 {
    margin: 10px 0 5px;
    font-weight: 600;
}

.idpg-upload-area p {
    color: #6b7280;
    margin-bottom: 20px;
}

.idpg-choose-btn {
    background: #2563eb;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    transition: 0.2s ease;
}

.idpg-choose-btn:hover {
    background: #1d4ed8;
}

.idpg-divider {
    margin: 25px 0;
    color: #6b7280;
    font-weight: 500;
}

.idpg-camera-btn {
    background: #16a34a;
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    transition: 0.2s ease;
}

.idpg-camera-btn:hover {
    background: #15803d;
}
/* Preview Section */
.idpg-preview-section {
    background: #f3f4f6; /* light grey */
    margin-top: 40px;
    padding: 50px 20px;
    border-radius: 12px;
}

.idpg-preview-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.idpg-preview-box {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

.idpg-preview-box img {
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.idpg-preview-section h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.idpg-watermark-note {
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}
/* Issues */
.idpg-issues {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  font-size: 13px;
}

.idpg-issues ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* Loading / text */
#idpg-preview p {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}
.idpg-error {
  color: #b00020;
  background: #fdecea;
  padding: 10px;
  border-radius: 6px;
}
.idpg-wrap{
    max-width:1100px;
    margin:40px auto;
    font-family:Inter, Arial, sans-serif;
}
.idpg-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    width: 100%;
}
.idpg-badge{
    background:#dcfce7;
    color:#15803d;
    font-size:12px;
    padding:4px 10px;
    border-radius:999px;
    font-weight:600;
}
.idpg-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:24px;
}
.idpg-card{
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
}
.idpg-photo-box{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:20px 0;
}
.idpg-photo-frame{
    width:240px;
    height:300px;
    background:#f8fafc;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.idpg-photo-frame img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}
.idpg-btn{
    background:#2563eb;
    color:#fff;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    display:inline-block;
}
.idpg-btn.gray{
    background:#9ca3af;
}
.idpg-list{
    margin:0;
    padding:0;
    list-style:none;
}
.idpg-list li{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #eee;
}
.idpg-check{
    color:#16a34a;
    font-weight:600;
}
.idpg-footer-btns{
    display:flex;
    justify-content:center;
    gap:16px;
    margin-top:30px;
}

#idpg-video {
    transform: scaleX(-1);
}



.idpg-selectors label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.select2-container .select2-selection--single{height: 48px !important;    padding: 10px 5px;}
.select2-container--default .select2-selection--single .select2-selection__arrow {
   
    top: 10px !important;
    right: 7px !important; 
}

.select2-container--default .select2-selection--single:focus {
    border-color: #2563eb;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #2563eb;
}
.idpg-form-outer .select2 + h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 15px 0px 10px;
}
.idpg-selectors{    display: inline-block;    width: 100%; margin-bottom: 20px;}
.document-type-outer{    width: 49%;
    float: left;
   }
  .country-outer{ width: 49%; float: right;}
.idpg-payment-wrapper {
    max-width: 100%;
    margin: 40px auto;
    font-family: Inter, Arial, sans-serif;
}

.idpg-payment-card {
    background: #fff;
    padding: 30px;
    border-radius: 5;
    box-shadow: none;
	text-align: left;
    display: inline-block;
}
 .idpg-payment-card inpu, #card-element{  background: #fff;
    border: 1px solid #dddddd;
    border-radius: 5px;
	}
	.idpg-payment-wrapper{margin-bottom:0}
	.idpg-input-group {
    margin-bottom: 18px;
    width: 50%;
    float: left;
    padding: 5px;
}
.idpg-card-field{  padding: 5px;}
.idpg-payment-card h3 {
    margin: 0 0 6px;
    font-size: 26px;
    text-align: center;
    font-weight: 600;
}

.idpg-payment-sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
     text-align: center;
}

.idpg-card-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

#card-element {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #f9fafb;
    transition: 0.3s ease;
}

#card-element.StripeElement--focus {
    border-color: #2563eb;
    background: #ffffff;
}

#card-element.StripeElement--invalid {
    border-color: #dc2626;
}

.idpg-pay-btn {
    width: 100%;
    margin-top: 10px;
    float: right;
    padding: 14px;
    background: #2563eb;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.idpg-pay-btn:hover {
    background: #1e40af;
}

.idpg-pay-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.idpg-payment-message {
    margin-top: 12px;
    font-size: 13px;
    color: #dc2626;
} 
.idpg-input-group {
    margin-bottom: 18px;
}

.idpg-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
    float:left;
}

.idpg-input-group input, .idpg-input-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb !important;
    border-radius: 5px !important;
    background: #fff !important;
    font-size: 15px;
    transition: 0.3s ease;
}
.idpg-pay-btn{width:auto !important;
    padding: 10px 40px;
    border-radius: 5px !important;
    }
.idpg-input-group input:focus {
    border-color: #2563eb;
    background: #fff;
    outline: none;
}
.idpg-input-group.full-group{width:100%}
.trust-pilot-outer {
    display: block;
    margin: 30px auto;
    padding: 25px;
    background: #00b67a;
    border: 4px solid #00b67a;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
    max-width: 600px;
}
.trust-pilot-outer .trustpilot-widget iframe{transform: scale(1.1); transform-origin: center;}

/* Mobile */
@media (max-width: 767px) {
    .idpg-selectors{margin-bottom:10px}
.document-type-outer, .country-outer{width:100%; margin: 10px 0;}

}
@media (max-width: 480px) {
  .idpg-card {
    margin: 20px;
    padding: 18px;
  }
}
