@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    }
body {
    background-color: #fff;
    color: #1a1a1a;
    min-height: 100vh;
    /* padding-bottom: 100px */
    }
.service-container {
    max-width: 1495px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
    }
nav {
    padding: 1.5rem 2rem
    }
.service-nav-item {
    color: #1a1a1a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem
    }
.service-nav-item::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4070f4;
    border-radius: 50%
    }
.service-left-section {
    padding-right: 2rem
    }
h1 {
    font-size: var(--fs-6xl, 3.75rem);
    font-weight: 700;
    line-height: var(--lh-tight, 1.1);
    margin-bottom: var(--space-2xl, 1.5rem);
    text-align: left;
    }
.service-underline {
    position: relative;
    display: inline-block
    }

.service-subtitle {
    font-size: var(--fs-xl, 1.25rem);
    color: #666;
    margin-bottom: var(--space-3xl, 2rem);
    line-height: var(--lh-relaxed, 1.625);
    text-align: left;
    }
.service-learn-more {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 26px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s
    }
.service-learn-more:hover {
    background-color: #333
    }
.service-right-section {
    /* background-color: #f5f7ff; */
    padding: 2rem;
    border-radius: 20px;
    /* position: relative; */
    }
.service-float-animation {
    animation: float 3s ease-in-out infinite;
    padding: 5% 0%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem
    }
.service-chat-container, .service-chat-container-share {
    background-image: url(../assets/Sona.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px
    }
.service-chat-container-share {
    background-image: url(../assets/paymentBack.png)
    }
.service-amount {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem
    }
.service-payment-text {
    color: #666
    }
@keyframes float {
    0% {
        transform: translateY(0px);
        } 50% {
        transform: translateY(-10px);
        } 100% {
        transform: translateY(0px);
        }
    }
.service-chat-message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 7% 6%
    }
.service-user-message {
    margin-right: 2rem
    }
.service-response-message {
    margin-left: 2rem;
    justify-content: flex-end
    }
.service-response-message .service-message {
    background-color: #4070f4;
    color: white
    }
.service-response-message .service-payment-text {
    color: rgba(255, 255, 255, 0.8)
    }
.service-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover
    }
.service-message-content {
    flex: 1
    }
.service-username {
    font-weight: 500;
    margin-bottom: 0.25rem
    }
.service-username-share {
    color: #ddd
    }
.service-message {
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)
    }
.service-action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center
    }
.service-btn-primary, .service-btn-secondary {
    padding: var(--space-md, 0.75rem) var(--space-3xl, 2rem);
    border-radius: 100px;
    font-family: "Poppins", sans-serif;
    font-size: var(--fs-base, 1rem);
    line-height: var(--lh-normal, 1.5);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 48px;
    text-align: center;
    }
.service-btn-primary {
    background-color: #000;
    color: white;
    border-color: #000;
    }
.service-btn-secondary {
    background-color: transparent;
    color: #000;
    border: 3px solid rgb(0 0 0);
    }
.service-btn-primary:hover {
    background-color: #333;
    border-color: #333;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
.service-btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: rgba(25, 28, 31, 0.3);

    }
/* Share Dialog Styles */
.service-share-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000
    }
.service-share-dialog.service-show {
    display: flex
    }
.service-share-content {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15)
    }
.service-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem
    }
.service-share-header h2 {
    font-size: 1.5rem;
    font-weight: 600
    }
.service-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666
    }
.service-share-amount {
    position: relative;
    margin-bottom: 1.5rem
    }
.service-share-amount input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1.2rem;
    padding-right: 4rem
    }
.service-currency {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translatey(-50%);
    color: #666
    }
.service-share-link {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem
    }
.service-share-link input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #f5f7ff
    }
.service-copy-btn {
    padding: 0 1.5rem;
    background-color: #4070f4;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s
    }
.service-copy-btn:hover {
    background-color: #3060e0
    }
.service-share-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
    }
.service-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s
    }
.service-share-btn > img {
    width: 24px;
    height: 24px
    }
.service-share-btn:hover {
    background-color: #f5f7ff
    }
.service-footer-decoration {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1
    }
.service-wave-image {
    width: 100%;
    height: auto;
    transform: translatey(50%)
    }
@media (max-width: 1280px) {
    .service-container {
        padding: var(--space-3xl, 2rem);
        max-width: 100%;
        }
    }
@media (max-width: 1024px) {
    .service-container {
        grid-template-columns: 1fr;
        gap: var(--space-4xl, 3rem);
        padding: var(--space-2xl, 1.5rem);
        }
    h1 {
        font-size: var(--fs-5xl, 3rem);
        }
    .service-left-section {
        padding-right: 0;
        }
    .service-right-section {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        }
    }
@media (max-width: 768px) {
    h1 {
        font-size: var(--fs-4xl, 2.25rem);
        }
    .service-subtitle {
        font-size: var(--fs-base, 1rem);
        }
    .service-chat-container, .service-notification-container {
        min-height: 300px;
        }
    .service-chat-message {
        padding: 4% 5%;
        }
    .service-action-buttons {
        flex-wrap: wrap;
        gap: var(--space-md, 0.75rem);
        }
    .service-btn-primary, .service-btn-secondary {
        width: 100%;
        padding: var(--space-sm, 0.875rem) var(--space-2xl, 1.5rem);
        }
    .service-notification {
        margin: var(--space-lg, 1rem);
        }
    .service-amount {
        font-size: var(--fs-xl, 1.25rem);
        }
    .service-nav-item {
        padding: var(--space-lg, 1rem) var(--space-2xl, 1.5rem);
        }
    }
@media (max-width: 480px) {
    .service-container {
        padding: 1rem
        }
    h1 {
        font-size: 2rem;
        margin-bottom: 1rem
        }
    .service-subtitle {
        margin-bottom: 1.5rem
        }
    .service-chat-container, .service-notification-container {
        min-height: 250px
        }
    .service-message {
        padding: 0.75rem;
        font-size: 0.9rem
        }
    .service-username {
        font-size: 0.9rem
        }
    .service-avatar {
        width: 32px;
        height: 32px
        }
    .service-notification-content h2 {
        font-size: 1.25rem
        }
    .service-learn-more {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem
        }
    }
/* Fix for view transitions */
.service-view {
    min-height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    overflow-y: auto;
    background: white
    }
.service-view.service-active {
    opacity: 1;
    pointer-events: all;
    position: relative
    }
/* Fix for video in scan view */
.service-notification-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px
    }
.service-view {
    display: none
    }
.service-view.service-active {
    display: block
    }
.service-share-active {
    background-color: #1a1a1a !important;
    color: white !important;
    border: none !important
    }
.service-notification-container {
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px
    }
.service-notification {
    background-color: #4070f4;
    color: white;
    padding: 1.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 400px
    }
.service-notification-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem
    }
.service-icon {
    font-size: 1.2rem
    }
.service-name {
    font-weight: 500
    }
.service-notification-content {
    margin-bottom: 1.5rem
    }
.service-notification-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem
    }
.service-notification-content p {
    opacity: 0.8
    }
.service-notification-footer {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px
    }
.service-amount-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem
    }
.service-amount {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem
    }
.service-timestamp {
    font-size: 0.9rem;
    opacity: 0.8
    }