/* Enhanced color palette with more variations */
:root {
    /* Primary Orange Shades */
    --orange-primary: #D35400;
    --orange-secondary: #E67E22;
    --orange-light: #F39C12;
    --orange-lighter: #F4D03F;

    /* Complementary Colors */
    --red-accent: #E74C3C;
    --yellow-accent: #F1C40F;
    --brown-dark: #8B4513;
    --brown-light: #CD853F;

    /* Neutral Colors */
    --gray-dark: #2C3E50;
    --gray-medium: #7F8C8D;
    --gray-light: #BDC3C7;
    --gray-lighter: #ECF0F1;

    /* Background Colors */
    --bg-primary: #FBEFE6;
    --bg-secondary: #FFF8F0;
    --bg-white: #FFFFFF;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji";
}

body {
    background-color: #FBEFE6;
}

.text-danger {
    color: #ff4444;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 15px 0;
}

.logo a {
    display: flex;
    justify-content: center;
}

.logo-img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.language-switch {
    position: absolute;
    right: 20px;
    top: 20%;
    transform: translateY(-50%);
}

/* .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 50px 0px 50px;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
} */

.logo-img:hover {
    transform: scale(1.05);
}

/* .language-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
} */

.selected-lang {
    color: var(--orange-secondary);
    font-size: 14px;
    font-weight: bold;
    padding-right: 10px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lang-btn img {
    width: 20px;
    height: 20px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    min-width: 120px;
    z-index: 1000;
}

.lang-dropdown.show {
    display: flex;
}

.lang-option {
    padding: 8px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.lang-option:hover {
    background-color: #f5f5f5;
}

.main-heading {
    color: #D35400; /* Dark orange for headings */
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    /* font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
    font-family: "Rufina", serif;
    padding: 0px 50px 0px 50px;
}
.registration-form {
    padding: 0px 20px 0px 20px;
}
/* .registration-form {
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
  } */

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Updated form styling with enhanced color variations */
label {
    color: var(--orange-secondary);
    font-weight: bold;
    font-size: 14px;
}

input,
select {
    padding: 10px;
    border: 1px solid var(--orange-primary);
    border-radius: 5px;
    font-size: 13px;
    color: var(--gray-dark);
    background-color: var(--bg-white);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--orange-light);
    box-shadow: 0 0 5px rgba(243, 156, 18, 0.3);
}

.gender-options {
    display: flex;
    gap: 12px;
}

.radio-button-label {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    color: #999;
    font-size: 13px;
    font-weight: normal;
    width: 100%;
    transition: all 0.2s ease;
}

.radio-input:checked + .radio-button {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    color: var(--bg-white);
    border-color: var(--orange-primary);
    box-shadow: 0 2px 4px rgba(211, 84, 0, 0.2);
}

/* .gender-options {
      display: flex;
      gap: 10px;
  }

  .gender-options button {
      padding: 10px 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background: white;
      cursor: pointer;
  } */
input[type="text"]::placeholder {
    color: #999;
    font-size: 13px;
}

input[type="text"]:focus {
    outline: none;
    border-color: #004d2f;
}

.mobile-input {
    display: flex;
    position: relative;
    width: 100%;
}

.mobile-input input[type="text"] {
    border: 1px solid #ccc;
    border-radius: 5px;
    /* padding: 8px 70px 8px 16px; */
    /* font-size: 14px; */
    width: 100%;
    /* color: #333; */
    /* background-color: #fff; */
    transition: border-color 0.3s ease;
    /* height: 40px; */
}

.mobile-input input[type="text"]:focus {
    outline: none;
    border-color: #004d2f;
}

.mobile-input input[type="text"]::placeholder {
    color: #999;
    font-size: 13px;
}

/* Buttons */
.verify-btn {
    position: absolute;
    /* right: 12px; */
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    color: var(--bg-white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 0 30px;
    font-weight: 400;
    border-left: 1px solid #ccc;
    /* height: 20px; */
    height: 35px;
    border-radius: 5px;
    line-height: 20px;
    text-decoration: underline;
    transition: all 0.3s ease;
}

/* Remove duplicate and conflicting styles */
.verify-btn:hover {
    text-decoration: none;
}

/* .verify-btn {
      padding: 0 20px;
      background: white;
      border: 1px solid #004d2f;
      color: #004d2f;
      border-radius: 5px;
      cursor: pointer;
  } */

/* .photo-upload {
    margin-bottom: 30px;
} */
.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-area {
    position: relative;
    border: 2px dashed var(--orange-secondary);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}
.upload-area:hover {
    border-color: var(--orange-light);
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}

.upload-icon {
    /* margin-bottom: 15px; */
    color: var(--orange-light);
}

.upload-icon img {
    height: 40px;
    width: 100%;
}

.upload-span {
    color: var(--orange-secondary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.upload-text {
    color: var(--orange-secondary);
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.upload-size {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* margin-top: 20px; */
    justify-content: center;
    padding: 10px;
    clear: both;
}

.final-preview {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin: 15px;
}

.final-image {
    width: 300px;
    height: 300px;
    position: relative;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.final-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: white;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    z-index: 100;
    border: 2px solid white;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.remove-image:hover {
    background: #ff0000;
    transform: scale(1.1);
}

/* Touch-friendly target area for mobile */
@media (max-width: 768px) {
    .remove-image {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
}

/* Ensure frame is sharp and clear */
#imageCanvas {
    width: 300px !important;
    height: 300px !important;
    border: none;
    position: relative;
    z-index: 1;
}

.canvas-container {
    margin: 0 auto !important;
    background-color: white !important;
    width: 300px !important;
    height: 300px !important;
    position: relative !important;
    user-select: none;
}

.upper-canvas,
.lower-canvas {
    width: 300px !important;
    height: 300px !important;
    background-color: white !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.frame-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.frame-hashtag {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.selfie-text {
    color: #23654a;
}

.mitti-text {
    color: #bf2e31;
}

.ganesh-text {
    color: #e9614c;
}

.zoom-slider-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    margin-top: 30px;
    margin-bottom: 5px;
}

.zoom-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--orange-secondary);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
}

#zoomSlider {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
}

#zoomSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: white;
    border: 2px solid #004d2f;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.position-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0 20px;
}

.position-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #e0e0e0;
    color: #004d2f;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .crop-btn {
    background: #98fb98;
    color: #004d2f;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
} */

/* Ensure proper layering */
.image-preview {
    position: relative;
    display: inline-block;
}

.frame-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.frame-logo {
    position: absolute;
    width: 40px;
    height: auto;
}

.frame-logo-top {
    top: 10px;
    left: 10px;
}

.frame-logo-bottom {
    bottom: 10px;
    right: 10px;
}

/* Crop modal styling */
.crop-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.crop-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 400px;
    max-width: 95vw; /* Responsive on mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.image-frame-container {
    width: 300px;
    height: 300px;
    /* margin: 0 auto; */
    position: relative;
    background-color: white;
}

.image-frame-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* This will clip any content that overflows */
    cursor: move; /* Show grab cursor to indicate draggable */
    touch-action: none; /* Prevent browser handling of touch events */
    user-select: none; /* Prevent selection */
}

.image-frame-wrapper:active {
    cursor: grabbing; /* Change cursor when actively dragging */
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 0;
}

.editable-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    max-width: 280px; /* Slightly smaller than frame */
    max-height: 280px; /* Slightly smaller than frame */
    object-fit: contain;
    z-index: 1;
    pointer-events: none; /* Allow events to pass through to wrapper */
    user-select: none; /* Prevent selection */
    will-change: transform; /* Optimize for animation */
}

.frame-overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.frame-hashtag {
    /* position: relative; */
    position: absolute;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    margin-top: 10px;
}

.selfie-text {
    color: #23654a;
}

.mitti-text {
    color: #bf2e31;
}

.ganesh-text {
    color: #e9614c;
}

.position-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 15px;
}

.position-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #e0e0e0;
    color: #004d2f;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .crop-btn {
    background: #98fb98;
    color: #004d2f;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 90%;
    font-size: 16px;
    margin-top: 5px;
    -webkit-tap-highlight-color: transparent;
} */

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.reset-btn {
    padding: 10px 20px;
    background: var(--gray-light);
    color: var(--gray-dark);
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: var(--gray-medium);
    color: var(--bg-white);
}

.submit-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--orange-primary), var(--red-accent));
    color: var(--bg-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--red-accent), var(--orange-secondary));
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* Popup Styles */
.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.thank-you-popup.show {
    opacity: 1;
    visibility: visible;
    z-index: 999;
}

.popup-content {
    width: 450px;
    background: white;
    padding: 28px 10px 28px 10px;
    border-radius: 10px;
    text-align: center;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.thank-you-popup.show .popup-content {
    transform: translateY(0);
}

.watering-can-icon {
    margin-bottom: 20px;
}

.watering-can-icon img {
    width: 100px;
    height: auto;
}

.popup-content h2 {
    color: var(--orange-secondary);
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: Rufina, serif;
}

.add-response-btn {
    background: var(--orange-secondary) !important;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease;
    font-weight: bold;
    width: 70%;
}

.add-response-btn:hover {
    background: linear-gradient(135deg, var(--red-accent), var(--orange-secondary));
}

.banner-popup .popup-content {
    width: 550px;
}

.banner-popup .popup-content .watering-can-icon img {
    width: 500px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .banner-popup .popup-content {
        width: 550px;
    }
    .banner-popup.popup-content.watering-can-icon img {
        width: 500px;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .banner-popup .popup-content {
        width: 400px;
    }

    .banner-popup .popup-content .watering-can-icon img {
        width: 350px;
        height: auto;
    }
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .crop-container {
        padding: 15px;
        gap: 10px;
    }

    .zoom-slider-container {
        margin-top: 10px;
    }

    .zoom-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .crop-btn {
        padding: 15px;
        font-size: 18px;
    }
}

/* Add a specific style for the X button text to ensure it's centered */
.remove-image::after {
    content: "×";
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.image-option {
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.image-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.image-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #004d2f;
}

/* Improved styling for crop button to align with the new option */
.crop-main {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.crop-back {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    width: 40%;
    font-size: 16px;
    margin-top: 5px;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    transition: background-color 0.2s;
}

.crop-btn {
    background: var(--orange-secondary);
    color: #FBEFE6;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    width: 60%;
    font-size: 16px;
    margin-top: 5px;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    transition: background-color 0.2s;
}

.crop-btn:hover {
    background-color: var(--orange-secondary);
}

/* OTP popup styles */
.otp-sent-message {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.otp-popup-input {
    text-align: center;
    font-size: 20px;
    letter-spacing: 4px;
    padding: 10px 15px;
    width: 150px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.otp-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.otp-verify-btn {
    background-color: #004d2f;
}

.cancel-otp-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
}

/* Custom Select2 */
.select2-container--default .select2-selection--single {
    height: 40px;
}
.select2-container .select2-selection--single {
    /* background-color: #f5f5f5; */
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 13px;
    color: #999;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 40px;
    color: #999;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 40px;
    color: #999;
}

.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #f5f5f5;
    color: #000;
    font-size: 13px;
}
.select2-container--default .select2-results__option {
    color: #000;
    font-size: 13px;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
    background: linear-gradient(135deg, var(--orange-secondary), var(--orange-light));
    color: var(--bg-white);
}
/* .select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    color: #000;
} */
.select2-search--dropdown .select2-search__field {
    outline: none;
    outline-offset: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
    border-radius: 4px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 16px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #686868;
    font-size: 13px;
}

/* Thank you page css */
.share-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frame-container {
    position: relative;
    /* margin: 30px 0; */
    padding: 0;
    width: 100%;
    max-width: 540px;
}

.framed-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    /* border: 8px solid #d4af37; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-heading {
    color: var(--orange-secondary);
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: bold;
    font-family: "Rufina", serif;
}

/* .share-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    width: 100%;
    max-width: 540px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 18.33%;
} */
.share-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 540px;
}

.share-option {
    display: flex;
    width: 100%;
    text-decoration: none;
    position: relative;
}
.share-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0px 15px 0px 1px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
    text-align: left;
    justify-content: space-between;
}

.facebook-btn {
    background-color: #e8f0fe;
    border: 1px solid #1877f2;
}

.instagram-btn {
    background-color: #fce9f6;
    border: 1px solid #cc2366;
}

.whatsapp-btn {
    background-color: #e5f8f1;
    border: 1px solid #25d366;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.social-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.fb-icon {
    background-color: #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
}

.insta-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
    border-radius: 12px;
}

.wa-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-text {
    font-size: 16px;
    text-align: right;
    margin-right: 20px;
    max-width: 200px;
}

/* .share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: white;
    text-align: center;
}

.facebook-btn {
    background-color: #3b5998;
}

.instagram-btn {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}

.whatsapp-btn {
    background-color: #25d366;
} */

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.share-icon {
    width: 30px;
    height: 30px;
    /* margin-bottom: 10px; */
}

.tag-info {
    text-align: right;
    font-size: 14px;
    color: #777;
    margin-top: 3px;
    display: block;
    position: absolute;
    right: 0;
    bottom: -22px;
}

.hashtag-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 25px;
    gap: 5px;
    justify-content: flex-start;
}

.hashtag-text {
    font-size: 14px;
    color: var(--orange-secondary);
}

.hashtag-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hashtag-icon svg {
    width: 16px;
    height: 16px;
}

.hashtag-icon svg path {
    fill: #004d2f;
}

.tag-container {
    text-align: right;
    margin-top: 10px;
    width: 100%;
    color: var(--orange-secondary);
}

.copy-toast {
    position: relative;
    /* bottom: 30px; */
    left: 30%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    z-index: 1000;
}

.copy-toast.show {
    display: block;
    animation: fadeInOut 2s ease;
}

.download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #004d2f;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #003d27;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.share-instruction {
    color: #666;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.footer {
    margin-top: 60px;
}

@media (max-width: 600px) {
    .share-options {
        flex-direction: column;
        gap: 15px;
    }

    .share-option {
        width: 100%;
    }

    .frame-container {
        max-width: 90%;
    }
}

.popup-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.language-options {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 20px;
    justify-content: center;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-option input[type="radio"] {
    margin: 0;
}

.language-option label {
    font-size: 16px;
    cursor: pointer;
}

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

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

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
}

.consent-text {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

input[type="checkbox"]#chk_consent {
    width: 20px;
    height: 20px;
    accent-color: var(--orange-secondary);
    margin-top: 4px;
}
@media screen and (max-width: 768px) {
    input[type="checkbox"]#chk_consent {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
}

@media screen and (max-width: 480px) {
    input[type="checkbox"]#chk_consent {
        width: 24px;
        height: 24px;
        margin-top: 1px;
    }
}

/* Privacy Policy Page */
.privacy-policy-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.privacy-policy-content h1 {
    color: #004d2f;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    color: #004d2f;
    font-size: 24px;
    margin-bottom: 15px;
}

.policy-section p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section ul li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
    .privacy-policy-content {
        padding: 15px;
        margin: 20px auto;
    }

    .privacy-policy-content h1 {
        font-size: 28px;
    }

    .policy-section h2 {
        font-size: 20px;
    }
}

/* Terms & Condition Page CSS */
.terms-content {
    padding: 20px;
}
.terms-content h2 {
    color: #004d2f;
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
}
.terms-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}
.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.terms-content ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .terms-content {
        padding: 15px;
    }
    .terms-content h2 {
        font-size: 1.3rem;
    }
}
