/* Full-page vibrant design */
body.aipg-active {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

.aipg-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 30px !important;
    margin: 0 !important;
    min-height: 100vh;
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

.aipg-subscription-required {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 30px !important;
    margin: 0 !important;
    min-height: 100vh;
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

.aipg-subscription-info {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 25px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    font-size: 20px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aipg-container .text-gradient {
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.aipg-container .glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.aipg-container .form-control,
.aipg-container .form-select {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 3px solid rgba(255, 255, 255, 0.5) !important;
    color: #2d3748 !important;
    font-weight: 500;
}

.aipg-container .form-control::placeholder {
    color: #718096 !important;
}

.aipg-container .form-control:focus,
.aipg-container .form-select:focus {
    background-color: white !important;
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 0.3rem rgba(255, 215, 0, 0.3) !important;
    color: #1a202c !important;
}

.aipg-container .btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ffd700, #4ecdc4);
    background-size: 200% 200%;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.aipg-container .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

.aipg-container .card {
    background: rgba(26, 32, 44, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.aipg-container ::-webkit-scrollbar {
    width: 12px;
}

.aipg-container ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.aipg-container ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b6b, #ffd700);
    border-radius: 10px;
}

.aipg-container ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffd700, #4ecdc4);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.aipg-container i.fa-wand-magic-sparkles {
    animation: float 2s ease-in-out infinite;
}

/* Sample output card */
.aipg-sample-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin-top: 30px;
}

.aipg-sample-card h4 {
    color: #ffd700;
    font-weight: 800;
    margin-bottom: 15px;
}

.aipg-sample-output {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #ffd700;
}