/* Petos Contact Form Styles */
.petos-contact-form-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* New Contact Form Design */
.petos-new-contact-form {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

.petos-form-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.petos-orange-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FC8034CC;
    border-radius: 0 0 0 0;
    clip-path: ellipse(80% 60% at 50% 0%);
    z-index: 2;
}

.petos-orange-curve-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FC8034B2;
    border-radius: 0 0 0 0;
    clip-path: ellipse(80% 55% at 50% 0%);
    z-index: 1;
}

.petos-beige-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F5E5D5;
    border-radius: 0 0 0 0;
    clip-path: ellipse(75% 62% at 50% 0%);
    z-index: 0;
}

.petos-pets-illustration {
    position: absolute;
    bottom: -9px;
    width: 50%;
    height: 80%;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}

.petos-pets-illustration-left {
    left: -26px;
    justify-content: flex-start;
    padding-left: 20px;
}

.petos-pets-illustration-right {
    right: -26px;
    left: auto;
    justify-content: flex-end;
    padding-right: 20px;
}

.petos-pets-bg {
    width: auto;
    height: 300px;
    object-fit: contain;
    max-width: 100%;
}

/* Hide pets image on mobile devices */
@media only screen and (max-width: 768px) {
    .petos-pets-illustration {
        display: none;
    }
    
    .petos-pet-type-buttons-new {
        gap: 10px;
    }
    
    .petos-pet-button-new {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .petos-pet-icon-new {
        width: 18px;
        height: 18px;
    }
    
    .petos-radio-dot {
        width: 16px;
        height: 16px;
    }
    
    .petos-radio-dot.active::after {
        width: 6px;
        height: 6px;
    }
}

.petos-form-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    min-height: 600px;
}

.petos-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.petos-interested-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.petos-form-card-new {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 10;
}

.petos-form-field-new {
    margin-bottom: 25px;
}

.petos-form-field-new input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.petos-form-field-new input:focus {
    outline: none;
    border-color: #FC8034;
    box-shadow: 0 0 0 3px rgba(252, 128, 52, 0.1);
}

.petos-form-field-new input::placeholder {
    color: #999;
    font-weight: 400;
}

.petos-pet-type-buttons-new {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.petos-pet-button-new {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    justify-content: center;
}

.petos-pet-button-new.active {
    border-color: #FC8034;
    background: rgba(252, 128, 52, 0.1);
}

.petos-radio-dot {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.petos-radio-dot.active {
    border-color: #FC8034;
    background: #FC8034;
}

.petos-radio-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.petos-pet-icon-new {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.petos-explore-button {
    width: 100%;
    padding: 18px;
    background: #D5D5D8;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s ease;
    margin-top: 10px;
    opacity: 0.6;
}

.petos-explore-button:enabled,
.petos-explore-button.enabled {
    background: #212121;
    cursor: pointer;
    opacity: 1;
}

.petos-explore-button:hover:enabled,
.petos-explore-button.enabled:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* OTP UI - scoped to contact form CSS */
.petos-otp-wrapper{margin-top:14px;display:none}
.petos-otp-wrapper.show{display:block}
.petos-otp-label{font-size:12px;color:#6c7a80;margin-bottom:8px}
.petos-otp-inputs{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:12px;width:100%;align-items:center}
.petos-otp-input{
  all: unset; /* wipe inherited styles from global/icon fonts */
  display: inline-block;
  width:56px; height:48px;
  border-radius:10px; background:#f3f6f7;
  text-align:center; color:#0f2b36;
  box-sizing:border-box;
  padding: 0 !important; /* override global input paddings */
  text-indent: 0 !important;
  font: 700 18px/48px system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif !important;
  letter-spacing: 0; font-variant-ligatures:none; font-feature-settings: normal;
  -webkit-text-security: none !important; text-security: none !important;
  direction:ltr; unicode-bidi:plaintext;
  outline: none; transition: box-shadow .2s;
}

/* Responsive sizing for OTP boxes */
@media (max-width: 575.98px){
  .petos-otp-inputs{grid-template-columns:repeat(6,1fr);gap:10px}
  .petos-otp-input{width:100%;height:44px;line-height:44px;font-size:16px}
}
@media (max-width: 380px){
  .petos-otp-inputs{gap:8px}
  .petos-otp-input{height:40px;line-height:40px;font-size:15px}
}

.petos-otp-meta{margin-top:8px;font-size:12px;color:#6c7a80}
.petos-otp-meta a{color: #2D90EB;text-decoration:underline;margin-left:4px}
.petos-otp-meta a:hover{text-decoration:underline}

.petos-phone-input input:-webkit-autofill,
.petos-phone-input input:-webkit-autofill:hover,
.petos-phone-input input:-webkit-autofill:focus,
.petos-phone-input input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
            box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #0f2b36 !important;
    caret-color: #0f2b36;
    transition: background-color 9999s ease-out 0s; /* prevent blue flash */
}

.petos-card-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #fbf6f1;
    border-radius: 16px;
    overflow: visible;
    min-height: auto;
}

.petos-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.petos-header {
    text-align: center;
    padding: 24px;
    padding-top: 32px;
    background-color: #fbf6f1;
}

.petos-header-title {
    color: #FC8034;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.petos-header-subtitle {
    color: #6B7280;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3;
}

.petos-main-content {
    display: flex;
    width: 100%;
    min-height: auto;
    position: relative;
}

.petos-contact-section {
    flex: 0 0 40%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: auto;
}

.petos-form-section {
    flex: 0 0 60%;
    padding: 48px 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

.petos-contact-info {
    margin-bottom: 24px;
}

.petos-contact-title {
    font-weight: 700;
    color: #111827;
    font-size: 3rem;
    margin-bottom: 24px;
}

.petos-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.petos-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FC8034;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(252, 128, 52, 0.3);
}

.petos-icon-image {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.petos-contact-text {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.petos-form-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 32px;
    width: 100%;
    max-width: 500px;
    margin-left: 20px;
    
}

.petos-form-field {
    margin-bottom: 20px;
}

.petos-form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.petos-form-field input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    box-sizing: border-box;
    font-size: 14px;
    color: #111827;
    transition: border-color 0.3s;
}

.petos-form-field input:focus {
    outline: none;
    border-color: #FC8034;
    border-width: 2px;
}

.petos-pet-type-buttons {
    display: flex;
    gap: 12px;
}

.petos-pet-button {
    flex: 1;
    padding: 12px;
    border-radius: 50px;
    background-color: white;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    text-transform: none;
    font-weight: 600;
    font-size: 14px;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s;
}

.petos-pet-button.active {
    border-color: #FC8034;
    color: #FC8034;
}

.petos-pet-button:hover {
    border-color: #FC8034;
    color: #FC8034;
    background-color: rgba(252, 128, 52, 0.05);
}

.petos-pet-button::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E5E7EB;
    border: 2px solid #E5E7EB;
}

.petos-pet-button.active::before {
    background-color: #FC8034;
    border: 2px solid #FC8034;
}

.petos-pet-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(40%) sepia(8%) saturate(1270%) hue-rotate(201deg) brightness(95%) contrast(86%);
}

.petos-pet-button.active .petos-pet-icon {
    filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(2000%) hue-rotate(20deg) brightness(1.2);
}

.petos-submit-button {
    width: 100%;
    padding: 12px 24px;
    background-color: #374151;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-transform: none;
    margin-top: 4px;
    transition: background-color 0.3s;
}

.petos-submit-button:hover {
    background-color: #1F2937;
}

.petos-bottom-decoration-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.petos-orange-circle {
    position: absolute;
    bottom: -550px;
    left: -450px;
    width: 990px;
    height: 890px;
    background-color: #FC8034;
    border-radius: 50%;
    z-index: 1;
}

.petos-pet-image {
    position: absolute;
    width: 400px;
    height: auto;
    max-width: 100%;
    z-index: 2;
}

/* Responsive Design */

/* Tablets and Small Laptops */
@media (max-width: 1200px) {
    .petos-contact-section {
        padding: 32px;
    }

    .petos-form-section {
        padding: 32px 0;
    }

    .petos-header-title {
        font-size: 3rem;
    }

    .petos-contact-title {
        font-size: 2.5rem;
    }

    .petos-form-card {
        max-width: 450px;
        margin-left: 10px;
    }

    .petos-pet-image {
        width: 350px;
    }
}

/* Tablets */
@media (max-width: 960px) {
    .petos-card-container {
        overflow: visible;
    }

    .petos-main-content {
        flex-direction: column;
        display: block;
    }

    .petos-contact-section {
        flex-basis: 100%;
        width: 100%;
        padding: 32px;
        min-height: auto;
        display: block;
        position: relative;
    }

    .petos-form-section {
        flex-basis: 100%;
        width: 100%;
        padding: 24px 32px;
        display: block;
        position: relative;
    }

    .petos-form-card {
        padding: 28px;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        display: block;
        position: relative;
    }

    .petos-header-title {
        font-size: 2.5rem;
    }

    .petos-header-subtitle {
        font-size: 0.95rem;
    }

    .petos-contact-title {
        font-size: 2rem;
    }

    .petos-bottom-decoration-panel {
        display: none !important;
        visibility: hidden;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .petos-contact-form-container {
        padding: 0 16px;
    }

    .petos-card-container {
        border-radius: 12px;
        overflow: visible;
    }

    .petos-card-content {
        display: block;
    }

    .petos-main-content {
        display: block;
        flex-direction: column;
    }

    .petos-header {
        padding: 20px 16px;
    }

    .petos-header-title {
        font-size: 2rem;
    }

    .petos-header-subtitle {
        font-size: 0.875rem;
    }

    .petos-contact-section {
        padding: 24px 20px;
        width: 100%;
        display: block;
        position: relative;
    }

    .petos-form-section {
        padding: 24px 20px 32px;
        width: 100%;
        display: block;
        position: relative;
    }

    .petos-contact-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }

    .petos-contact-item {
        gap: 12px;
        margin-bottom: 16px;
    }

    .petos-icon-circle {
        width: 44px;
        height: 44px;
    }

    .petos-icon-image {
        width: 22px;
        height: 22px;
    }

    .petos-contact-text {
        font-size: 15px;
    }

    .petos-form-card {
        padding: 24px 20px;
        width: 100%;
        display: block;
        position: relative;
        margin: 0;
    }

    .petos-form-field {
        margin-bottom: 18px;
        width: 100%;
    }

    .petos-form-field input {
        width: 100%;
        display: block;
    }

    .petos-pet-button {
        padding: 10px;
        font-size: 13px;
    }
    
    /* New form mobile styles */
    .petos-form-card-new {
        padding: 24px 20px;
        margin: 0 16px;
        width: calc(100% - 32px);
        max-width: none;
    }
    
    .petos-form-field-new input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .petos-pet-type-buttons-new {
        gap: 8px;
    }
    
    .petos-pet-button-new {
        padding: 12px 16px;
        font-size: 14px;
        gap: 8px;
    }
    
    .petos-explore-button {
        padding: 16px;
        font-size: 16px;
    }

    .petos-submit-button {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
    }

    .petos-bottom-decoration-panel {
        display: none !important;
        visibility: hidden;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .petos-header-title {
        font-size: 1.5rem;
    }

    .petos-header-subtitle {
        font-size: 0.8rem;
    }

    .petos-contact-title {
        font-size: 1.5rem;
    }

    .petos-contact-section {
        padding: 20px 16px;
    }

    .petos-form-section {
        padding: 20px 16px 28px;
    }

    .petos-icon-circle {
        width: 40px;
        height: 40px;
    }

    .petos-icon-image {
        width: 20px;
        height: 20px;
    }

    .petos-contact-text {
        font-size: 14px;
    }

    .petos-form-card {
        padding: 20px 16px;
    }
    
    /* New form small mobile styles */
    .petos-form-card-new {
        padding: 20px 16px;
        margin: 0 12px;
        width: calc(100% - 24px);
    }
    
    .petos-form-field-new input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .petos-pet-button-new {
        padding: 10px 12px;
        font-size: 13px;
        gap: 6px;
    }
    
    .petos-pet-icon-new {
        width: 16px;
        height: 16px;
    }
    
    .petos-radio-dot {
        width: 14px;
        height: 14px;
    }
    
    .petos-radio-dot.active::after {
        width: 4px;
        height: 4px;
    }
    
    .petos-explore-button {
        padding: 14px;
        font-size: 15px;
    }

    .petos-form-field input {
        padding: 10px;
        font-size: 13px;
    }

    .petos-form-field label {
        font-size: 11px;
    }

    .petos-pet-button {
        padding: 8px;
        font-size: 12px;
    }

    .petos-pet-icon {
        width: 16px;
        height: 16px;
    }

    .petos-submit-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Standard Disclaimer Styles */
.petos-disclaimer-section {
    margin-top: 20px;
    margin-bottom: 15px;
}

.petos-disclaimer-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 400;
}

.petos-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.petos-consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #28a745;
    flex-shrink: 0;
}

.petos-consent-checkbox label {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

/* Mobile responsive styles for disclaimer */
@media (max-width: 768px) {
    .petos-disclaimer-section {
        margin-top: 16px;
        margin-bottom: 12px;
    }
    
    .petos-disclaimer-label {
        font-size: 11px;
    }
    
    .petos-consent-checkbox label {
        font-size: 13px;
    }
    
    .petos-consent-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }
}

@media (max-width: 480px) {
    .petos-disclaimer-label {
        font-size: 10px;
    }
    
    .petos-consent-checkbox label {
        font-size: 12px;
    }
    
    .petos-consent-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
    }
}

