﻿@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;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
}

.opportunity-container {
    display: flex;
    gap: 20px;
    height: 85vh;
}

.add-opportunity {
    flex: 1;
    max-width: 33%;
    max-height: 500px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f9d6f5, #e1c8ff);
    box-shadow: 0 4px 12px rgba(255, 0, 128, 0.2);
    overflow-y: auto;
    color: #4a004e;
}

/* ✅ KEEPING FULL WIDTH FOR FEED, just matching style */
.opportunity-feed {
    flex: 2; /* ✅ this gives it more width (2/3) */
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f9d6f5, #e1c8ff); /* same background */
    box-shadow: 0 4px 12px rgba(255, 0, 128, 0.2); /* same shadow */
    height: 100%;
    overflow-y: auto;
    color: #4a004e;
}


input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

    input:focus, select:focus, textarea:focus {
        border-color: #d63384;
        outline: none;
    }

button {
    background: linear-gradient(135deg, #ff4d94, #c084fc);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

    button:hover {
        background: linear-gradient(135deg, #c084fc, #ff4d94);
    }

.opportunity-card {
    background: #ffffff; /* ✅ Changed from transparent blur to white */
    border-radius: 13px;
    box-shadow: 0 4px 12px rgba(180, 0, 150, 0.1);
    border: 1px solid #f3c6e5;
    padding: 5px;
    margin-bottom: 16px;
    color: #4a004e;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .opportunity-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(180, 0, 150, 0.2);
    }

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .user-info img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #ff4d94;
    }

    .user-info span {
        font-weight: 600;
        font-size: 14px;
    }

.badge {
    background: #f48fb1;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.meta {
    font-size: 12px;
    color: #7a006c;
    margin-top: 6px;
}

.fancy-float-heading {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    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);
    }
}

a {
    color: #a000a0;
    font-weight: 500;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

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

#category-select {
    font-size: 16px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 410px; /* 👈 Increase width here */
    max-width: 100%; /* ✅ Optional for responsiveness */
}


/* Emoji style */
.emoji {
    position: absolute;
    font-size: 22px;
    opacity: 0;
    animation: floatSpin 2.5s ease forwards; /* 👈 Slowed down */
    pointer-events: none;
    transform: rotate(0deg);
}

@keyframes floatSpin {
    0% {
        transform: translateY(0px) scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-90px) scale(1.4) rotate(360deg);
        opacity: 0;
    }
}

/* Glassmorphism SweetAlert */
.glass-popup {
    background: linear-gradient(135deg, rgba(255, 159, 243, 0.4), rgba(142, 68, 173, 0.4));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(142, 68, 173, 0.5);
    color: white;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Title */
.glass-title {
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Content */
.glass-content {
    color: #f0e6fa;
    font-size: 15px;
    text-align: center;
    margin-bottom: 15px;
}

/* Button */
.glass-button {
    background: linear-gradient(135deg, #ff9ff3, #8e44ad);
    color: white !important;
    border: none;
    border-radius: 15px;
    padding: 10px 25px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(142,68,173,0.5);
    transition: all 0.3s ease;
}

    .glass-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(142,68,173,0.7);
    }

/* Popup Animation */
.glass-popup-anim {
    animation: popupFadeIn 0.35s ease-out;
}

@keyframes popupFadeIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .opportunity-container {
        display: flex;
        flex-direction: column;
        gap: 14px;
        height: auto;
        min-height: calc(100vh - 110px);
        padding: 0 10px 14px;
    }

    .add-opportunity,
    .opportunity-feed {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .opportunity-feed {
        overflow-y: auto;
    }

    #category-select {
        width: 100%;
    }
}

@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: 26px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .modern-heading {
        font-size: 21px;
    }

    .add-opportunity,
    .opportunity-feed {
        padding: 14px;
        border-radius: 12px;
    }

    .opportunity-card {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    input, select, textarea {
        font-size: 13px;
        padding: 8px;
    }

    .user-info span {
        font-size: 13px;
        word-break: break-word;
    }

    .opportunity-card h4 {
        font-size: 1rem;
        line-height: 1.3;
    }
}



