:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #212529;
    --border-color: #dee2e6;
    --hover-color: #0056b3;
    --success-color: #28a745;
    --shadow-color: rgba(0,0,0,0.1);
    }

    
    body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    }
    .container {
    max-width: 800px;
    margin: 1rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    }

    /*Logo*/
    .panel-header {
        position: relative;
        background: var(--primary-color);
        color: white;
        padding: 1.5rem;
        text-align: center;
        }
        .panel-logo {
        margin-bottom: 1rem;
        }
        .panel-logo img {
        max-width: 100px;
        height: auto;
        }
        .panel-version {
        position: absolute;
        top: 1rem;
        right: 1rem;
        }
        .panel-header h2 {
        margin-bottom: 0.5rem;
        }

    /* Control Panel Styles */
    .control-panel {
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow-color);
    overflow: hidden;
    }
    .panel-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    }
    .panel-header h2 {
    margin-bottom: 0.5rem;
    }
    .panel-content {
    padding: 1.5rem;
    }
    .form-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    }
    .form-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }
    .form-group {
    margin-bottom: 1.5rem;
    }
    .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    }
    .input-with-icon {
    position: relative;
    }
    .input-with-icon i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    }
    .input-with-icon input {
    padding-left: 35px;
    }
    input, select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    }
    input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    }
    .color-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    }
    .color-input {
    text-align: center;
    }
    .color-input input[type="color"] {
    width: 100%;
    height: 40px;
    padding: 2px;
    border-radius: 4px;
    }
    .file-upload {
    position: relative;
    margin-bottom: 1rem;
    }
    .file-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    }
    .file-label:hover {
    background: var(--hover-color);
    }
    .file-upload input[type="file"] {
    display: none;
    }
    /* Business Card Styles */
    .card-preview-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    @media (max-width: 768px) {
        .card-preview-container {
            width: 100%;
        }
        
        .card-front-wrapper,
        .card-back-wrapper {
            width: 100%;
        }
    }
    .preview-section {
    width: 100%;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow-color);
    display: flex;
    justify-content: center;
    align-items: center;
    }
    .business-card {
    width: 3.5in;
    height: 2in;
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    position: relative;
    box-shadow: 0 2px 4px var(--shadow-color);
    transition: all 0.3s ease;
    }
    .card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    }
    .card-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    }
    .card-info {
    flex: 1;
    }
    .card-info h2 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-color);
    }
    .card-info p {
    font-size: 12px;
    margin-top: -5px;
    margin-bottom: 6px;
    color: var(--secondary-color);
    }
    .company-name {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: var(--text-color) !important;
    }
    .card-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    }
    .logo-container {
    margin-top: 10px;
    width: 60px;
    height: 60px;
    margin-left: 30px;
    }
    .company-logo {
        margin-left: -10px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    }
    .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    }
    .qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    }
    #qrcode {
    margin-left: 255px;
    margin-top: -45px;
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
    }
    #qrcode img {
    width: 100%;
    height: 100%;
    }
    .qr-label {
    font-size: 8px;
    margin-left: 265px;
    margin-top: -5px;
    margin-bottom: 5px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 4px;
    }
    .qr-label i {
    color: #25D366;
    }
    .card-footer {
    font-size: 8px;
    font-style: italic;
    color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 10px;
    padding-top: 5px;
    border-top: 1px solid var(--secondary-color);
    }
    .card-footer::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    }
    .card-footer:hover::before {
    transform: scaleX(1);
    }
    .button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    }
    .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    }
    .btn.primary {
    background: var(--primary-color);
    color: white;
    }
    .btn.secondary {
    background: var(--secondary-color);
    color: white;
    }

    /*Wa button scrol up start*/
    .sr-wa-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #25D366;
        width: 65px;
        height: 65px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        z-index: 1000;
        animation: pulse 2s infinite;
        transition: transform 0.3s ease;
    }
    
    .sr-wa-button:hover {
        animation-play-state: paused;
        transform: scale(1.1);
    }
    
    .sr-wa-button i {
        color: white !important;
        font-size: 30px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .sr-notification {
        position: fixed;
        bottom: 45px;
        right: 90px;
        background-color: white;
        padding: 10px 15px;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        display: none;
        animation: sr-fadeIn 0.3s ease-in;
        z-index: 999998;
    }
    
    .sr-form-container {
        position: fixed;
        bottom: 95px;
        right: 20px;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        width: 300px !important;
        display: none;
        z-index: 999997;
        background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
        color: white;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .sr-form-container h2 {
        text-align: center;
        margin-bottom: 15px;
        color: #e0e0e0;
        font-size: 16px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }
    
    .sr-form-container input,
    .sr-form-container textarea {
        width: 100%;
        padding: 8px;
        margin: 8px 0;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 5px;
        background: rgba(32,58,67,0.5);
        color: white;
    }
    
    .sr-form-container textarea {
        height: 100px;
        resize: none;
    }
    
    .sr-send-wa-button {
        width: 100%;
        padding: 10px;
        background-color: #25D366;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 10px;
        transition: background-color 0.3s ease;
    }
    
    .sr-send-wa-button:hover {
        background-color: #20b355;
    }
    
    .sr-footer-link {
        display: block;
        text-align: center;
        margin-top: 10px;
        color: #b0b0b0;
        font-style: italic;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .sr-footer-link:hover {
        color: #d0d0d0;
    }
    
    .sr-scroll-top {
        position: fixed;
        bottom: 95px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #333;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 999996;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .sr-scroll-top.active {
        opacity: 1;
        visibility: visible;
    }
    
    .sr-scroll-top i {
        color: white;
        font-size: 24px;
    }
    
    .sr-scroll-top:hover {
        background: #555;
        transform: translateY(-3px);
    }
    
    .sr-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999995;
    }
    
    @keyframes sr-pulse {
        0% { 
            transform: scale(1);
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }
        50% { 
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(0,0,0,0.4);
        }
        100% { 
            transform: scale(1);
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }
    }
    
    @keyframes sr-fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    /*Wa button scrol up end*/
    