body {
    background: white;
}
.demo-page {
    background: white;
    border-radius: 80px 0 0 0;
    min-height: 100vh;
    padding: 80px 100px;
    position: relative;
    overflow: hidden;
}

/* Success Notification */
.demo-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #28a745;
    color: white;
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.demo-notification-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-notification-icon {
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-notification-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.demo-notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.demo-notification-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.demo-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/demo-bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.demo-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Left Side: Form Area */
.demo-form-wrapper {
    padding: 0;
    position: relative;
    z-index: 2;
    width: fit-content;
}

.demo-form-content {
    max-width: 480px;
    width: 480px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.demo-title {
    color: #0468BE;
    font-size: 32px;
    font-weight: 500;
    margin: 0;
}

.demo-subtitle {
    color: #0468BE;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    max-width: 477px;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field {
    width: 100%;
}

.select-field {
    position: relative;
}

.select-label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #8B8B8B;
    pointer-events: none;
    z-index: 1;
}

.form-field input {
    width: 100%;
    padding: 26px 16px;
    border: 1px solid #F1F1F1;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    background: white;
    color: #191919;
    box-sizing: border-box;
}

.form-field select {
    width: 100%;
    padding: 16px;
    border: 1px solid #F1F1F1;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    background: white;
    color: #191919;
    box-sizing: border-box;
}

.form-field input::placeholder {
    color: #8B8B8B;
    font-weight: 500;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #0468BE;
}

.form-field input:not(:placeholder-shown) {
    color: #191919;
}

.form-field.select-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B8B8B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
    color: #191919;
    padding-top: calc(12px + 12px + 16px);
    padding-bottom: 16px;
    padding-left: 16px;
}

.form-field select:invalid {
    color: #191919;
}

.form-field select:valid {
    color: #191919;
}

.form-field select option {
    color: #191919;
    font-size: 16px;
    font-weight: 500;
}

.form-field select option[value=""][disabled] {
    color: #191919;
    font-size: 16px;
    font-weight: 500;
}

.demo-submit-btn {
    width: 300px;
    padding: 10px 24px;
    background: #0468BE;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 24px; /* Add margin for PC */
}

.demo-submit-btn:hover {
    background: #0355a3;
}

/* Right Side: Device Images */
.demo-devices-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 600px;
}

.demo-background-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/Blob2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.demo-background-blob.animate {
    animation: demoBlobFadeInRotate 1.0s linear forwards;
}

@keyframes demoBlobFadeInRotate {
    0% {
        opacity: 0.5;
        transform: rotate(-235deg) scale(0.2);
    }
    25% {
        opacity: 0.6;
        transform: rotate(-180deg) scale(0.4);
    }
    50% {
        opacity: 0.7;
        transform: rotate(-120deg) scale(0.5);
    }
    75% {
        opacity: 0.8;
        transform: rotate(-60deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1.0);
    }
}

.demo-devices-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .demo-page {
        padding: 60px 24px;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .demo-form-wrapper {
        width: 100%;
    }
    
    .demo-form-content {
        max-width: 100%;
        width: 100%;
    }
    
    .demo-submit-btn {
        width: 100%;
    }
    
    .demo-devices-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 575.98px) {
    .demo-page {
        padding: 40px 16px;
        border-radius: 40px 0 0 0;
    }
    
    .demo-form-wrapper {
        width: 100%;
    }
    
    .demo-form-content {
        max-width: 100%;
        width: 100%;
        gap: 24px;
    }
    
    .demo-form {
        gap: 12px;
    }
    
    .demo-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 24px;
        text-align: center;
    }
    
    .demo-subtitle {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        text-align: center;
    }
    
    .form-field input,
    .form-field select {
        font-size: 1rem;
    }
    
    .demo-submit-btn {
        font-size: 1rem;
        padding: 12px 24px;
        margin-top: 12px; /* Adjust margin for mobile */
    }
    
    /* Mobile notification styles */
    .demo-notification {
        padding: 12px 16px;
    }
    
    .demo-notification-content {
        gap: 8px;
    }
    
    .demo-notification-icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
    
    .demo-notification-text {
        font-size: 14px;
    }
    
    .demo-notification-close {
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
}

