﻿
@font-face {
    font-family: 'Great Vibes';
    src: url('/Content/fonts/GreatVibes-Regular.woff2') format('woff2'), url('/Content/fonts/GreatVibes-Regular.woff') format('woff'), url('/Content/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&display=swap');
/* General Styling */
body {
    background: linear-gradient(to right, #fdfbfb, #ebedee);
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.main-wrapper {
    height: 80vh;
    overflow: hidden;
}

/* Card Styling */
.card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

/* Card Title */
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #6a0dad;
    margin-bottom: 15px;
}

/* Upload Card */
.upload-card {
    max-height: 550px;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(to right, #fbc2eb, #a6c1ee);
    border-radius: 20px;
    color: #000;
}

    .upload-card h4 {
        font-size: 18px;
        font-weight: bold;
    }

    .upload-card label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 5px;
    }

    .upload-card .form-group {
        margin-bottom: 12px;
    }

    .upload-card .form-control {
        font-size: 14px;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid #ccc;
        background: #fff;
    }

    .upload-card .btn {
        font-size: 14px;
        padding: 8px 16px;
        background: linear-gradient(to right, #ff758c, #ff7eb3);
        border: none;
        color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(255, 120, 180, 0.3);
        transition: 0.3s ease;
    }

        .upload-card .btn:hover {
            opacity: 0.9;
            transform: scale(1.05);
        }

/* Scrollable right panel */
.scrollable-right {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}

/* Buttons & Badges */
.badge {
    background: linear-gradient(to right, #ff758c, #9d50bb);
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.btn-sm {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 12px;
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
    border: none;
    color: #fff;
    transition: 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 154, 158, 0.3);
}

    .btn-sm:hover {
        opacity: 0.85;
        transform: scale(1.05);
    }

/* Extra utility */
.gap-2 a {
    margin-right: 6px;
}

/* Animations */
.animated-text {
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === NEW: Gradient card class (like left side) === */
.gradient-card {
    background: linear-gradient(to right, #fbc2eb, #a6c1ee);
    border-radius: 20px;
    color: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Make inner cards inside gradient look clean */
.inner-glass-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

    /* Heading styles */
    .gradient-card h4,
    .inner-glass-card h4 {
        font-weight: 700;
        color: #4b006e;
    }

    /* Form elements inside */
    .gradient-card .form-control,
    .inner-glass-card .form-control {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 10px;
        color: #000;
        font-size: 14px;
        padding: 8px 10px;
    }

    .gradient-card .btn,
    .inner-glass-card .btn {
        background: linear-gradient(to right, #ff758c, #ff7eb3);
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 12px;
        font-size: 14px;
        box-shadow: 0 4px 10px rgba(255, 120, 180, 0.3);
        transition: 0.3s ease;
    }

        .gradient-card .btn:hover,
        .inner-glass-card .btn:hover {
            transform: scale(1.05);
            opacity: 0.9;
        }

.fancy-float-heading {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(90deg, #ff4d94, #8e2de2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-shadow: 0 2px 10px rgba(255, 105, 180, 0.4);
    animation: floatText 3s ease-in-out infinite;
    margin-bottom: 20px;
}

/* Floating animation */
@keyframes floatText {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}


.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    color: #222;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    html, body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .main-wrapper {
        height: auto;
        min-height: calc(100vh - 110px);
        overflow: visible;
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-wrapper > .card {
        padding: 0.9rem !important;
    }

    .upload-card,
    .scrollable-right {
        max-height: none;
        height: auto;
        overflow: visible;
    }

    .gradient-card {
        padding: 14px;
    }

    .inner-glass-card {
        padding: 14px;
    }
}

@media (max-width: 768px) {
    nav .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .fancy-float-heading {
        position: static !important;
        width: 100% !important;
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .main-wrapper {
        margin-top: 0.5rem !important;
    }

    .section-heading {
        font-size: 18px;
    }

    .card-title {
        font-size: 18px;
    }

    #searchResults .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .upload-card .form-control,
    .gradient-card .form-control,
    .inner-glass-card .form-control {
        font-size: 13px;
        padding: 8px;
    }

    .gap-2 a {
        display: inline-flex;
        margin-right: 4px;
        margin-bottom: 4px;
    }
}
