/*
Theme Name: Hello Elementor Child
Theme URI: http://example.com/
Description: A child theme for the Hello Elementor theme.
Author: Techchart
Author URI: http://example.com/
Template: hello-elementor
Version: 1.0
*/

/* Add your custom styles below */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-family: "Inter", sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.custom-header {
    background: #5c008b;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-header .custom-logo {
    max-height: 80px;
    max-width: 85px;
    width: 100%;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.about-btn {
    background: #ff6200;
    color: white;
    border: 2px solid #ff6200;
    padding: 11px 24px;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.5px;
    font-size: 18px;
    text-decoration: none;
    transition: all .3s;
}

.about-btn:hover {
    background-color: #fcfcfc;
    color: #ff6200;
    border-color: #ff6200;
}

.form-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .custom-header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-description {
    color: #6b7280;
    font-size: 1.1rem;
}

.form-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

#payment-form .input-field {
    width: 100%;
    padding: 1.2rem 1rem !important;
    background-color: #f1f1f1;
    border: none;
    font-size: 1rem;
    color: #374151;
    transition: background-color 0.2s !important;
}

#payment-form .input-field.input-error{
    border: 1px solid #dc2626;
    background-color: #fee2e2;
}

.input-field:focus {
    outline: none;
    background-color: #e4e4e4;
}

.input-field::placeholder {
    color: #777;
}

.date-input {
    position: relative;
}

.date-input input[type="date"],
.date-input input[type="text"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
    color-scheme: light;
}

/* Chrome/Safari - hide visually but keep click functionality */
.date-input input[type="date"]::-webkit-calendar-picker-indicator,
.date-input input[type="text"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 1rem;
}

/* Firefox - similar strategy */
.date-input input[type="date"]::-moz-calendar-picker-indicator .date-input input[type="text"]::-moz-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
}

/* Edge (some versions) */
.date-input input[type="date"]::-ms-clear,
.date-input input[type="date"]::-ms-expand,
.date-input input[type="text"]::-ms-clear,
.text-input input[type="text"]::-ms-expand {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

#payment-form .pay-button {
    display: block;
    margin: 3rem auto 0;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

#payment-form .pay-button:hover {
    transform: translateY(-1px);
}

@media (max-width: 768px) {

    .about-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .form-container {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.custom-footer {
    background: #5c008b;
    color: white;
    padding: 2.2rem 0 0.8em;
}

.custom-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.custom-footer .inner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-top .inner-container {
    align-items: flex-start;
    gap: 1rem;
}

.custom-footer .footer-top {
    padding-bottom: 1.5em;
}

.custom-footer .footer-bottom {
    padding-top: 1em;
    border-top: 1px solid #2e005d;
    ;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.footer-logo img {
    max-height: 80px;
    max-width: 80px;
    width: 100%;
}

.footer-logo a {
    color: white;
    text-decoration: none;
    display: block;
}

.linkedin-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.linkedin-icon:hover svg {
    fill: #ffc719;
}

.copyright {
    font-size: 15px;
    color: white;
    letter-spacing: 0.2px;
    font-family: "Inter", sans-serif;
}

@media (max-width: 768px) {
    .custom-footer .container {
        padding: 0 1rem;
    }

    .custom-footer .inner-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-top .inner-container {
        align-items: center;
    }

    .linkedin-icon {
        margin-top: 0.5rem;
    }
}

.hosted-field {
    height: 40px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.payment-modal{
    position: fixed;
    z-index: 222;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.payment-modal.blur{
    backdrop-filter: blur(6px);
}

.braintree-payment-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border: 1px solid #f1f5f9;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.braintree-payment-wrapper .close-btn{
    font-size: 17px;
    font-family: monospace;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: #f97316;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    z-index: 2;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-form>div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-form label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    letter-spacing: 0.025em;
}

.hosted-field {
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hosted-field:hover {
    border-color: #9ca3af;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hosted-field.braintree-hosted-fields-focused {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
    outline: none;
    background: #fefefe;
}

.hosted-field.braintree-hosted-fields-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    background: #fef2f2;
}

.hosted-field.braintree-hosted-fields-valid {
    border-color: #10b981;
    background: #f0fdf4;
}

#card-number {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    letter-spacing: 0.05em;
}

#expiration-date,
#cvv {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
}

.payment-form>div:nth-child(3),
.payment-form>div:nth-child(4) {
    flex: 1;
}

@media (min-width: 480px) {
    .payment-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        grid-template-areas:
            "name name"
            "card card"
            "exp cvv";
    }

    .payment-form>div:nth-child(1) {
        grid-area: name;
    }

    .payment-form>div:nth-child(2) {
        grid-area: card;
    }

    .payment-form>div:nth-child(3) {
        grid-area: exp;
    }

    .payment-form>div:nth-child(4) {
        grid-area: cvv;
    }
}

.hosted-field.loading {
    background: #f8fafc;
    border-color: #cbd5e1;
    position: relative;
}

.hosted-field.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.field-error {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
    background: #fef2f2;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border-left: 3px solid #ef4444;
}

.hosted-field.success::after {
    content: '✓';
    position: absolute;
    right: 12px;
    color: #059669;
    font-weight: bold;
    font-size: 16px;
}

.hosted-field[data-card-type]::before {
    content: '';
    position: absolute;
    right: 12px;
    width: 35px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hosted-field[data-card-type="visa"]::before {
    background-image: url("https://assets.braintreegateway.com/payment_method_logo/visa.png");
}

.hosted-field[data-card-type="mastercard"]::before {
    background-image: url("https://assets.braintreegateway.com/payment_method_logo/mastercard.png");
}

.hosted-field[data-card-type="american-express"]::before {
    background-image: url("https://assets.braintreegateway.com/payment_method_logo/american_express.png");
}

.hosted-field[data-card-type="discover"]::before {
    background-image: url("https://assets.braintreegateway.com/payment_method_logo/discover.png");
}

.hosted-field[data-card-type="jcb"]::before {
    background-image: url("https://assets.braintreegateway.com/payment_method_logo/jcb.png");
}

.hosted-field[data-card-type="unionpay"]::before {
    background-image: url("https://assets.braintreegateway.com/payment_method_logo/unionpay.png");
}

.hosted-field[data-card-type="diners-club"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Crect width='48' height='32' rx='4' fill='%23007b9d'/%3E%3Ctext x='24' y='21' font-size='10' font-family='Arial, sans-serif' fill='white' text-anchor='middle'%3EDINERS%3C/text%3E%3C/svg%3E");
}

.hosted-field[data-card-type="maestro"]::before {
    background-image: url("https://assets.braintreegateway.com/payment_method_logo/maestro.png");
}

.hosted-field[data-card-type="default"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Crect width='48' height='32' rx='4' fill='%23cccccc'/%3E%3Ctext x='24' y='21' font-size='10' font-family='Arial, sans-serif' fill='black' text-anchor='middle'%3ECARD%3C/text%3E%3C/svg%3E");
}

@media (max-width: 479px) {
    .braintree-payment-wrapper {
        padding: 1.5rem;
        border-radius: 12px;
        width: calc(100% - 20px);
    }

    .payment-form {
        gap: 0.5rem;
    }

    .hosted-field {
        min-height: 44px;
        padding: 10px 14px;
    }
}

.braintree-payment-wrapper {
    background: #ffffff;
    color: #1f2937;
}

.payment-form label {
    color: #374151;
}

.hosted-field {
    background: #ffffff;
    border-color: #d1d5db;
    color: #1f2937;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hosted-field:focus-within {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.hosted-field input::placeholder {
    color: #6b7280;
    opacity: 1;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #0369a1;
    font-weight: 500;
}

.security-badge::before {
    content: '🔒';
    font-size: 14px;
}

.payment-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.payment-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.payment-form-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

.submit-button {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background: linear-gradient(135deg, #ea6607 0%, #d54f07 100%);
    box-shadow: 0 4px 12px rgba(246, 146, 59, 0.3);
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:focus,
button:focus {
    outline: none !important;
}

.submit-button.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.validation-message {
    font-size: 0.75rem;
    margin-top: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.validation-message:empty {
    display: none;
}

.validation-message.success {
    color: #065f46;
    background: #d1fae5;
    border-left: 3px solid #10b981;
}

.validation-message.error {
    color: #991b1b;
    background: #fee2e2;
    border-left: 3px solid #ef4444;
}

.drp-calendar th{
    border: none !important;
}
.drp-calendar th,
.drp-calendar td{
    padding: 3px 9px !important;
}