﻿@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: linear-gradient(to right, #f8bbd9, #e1bee7);
    padding: 20px;
    min-height: 100vh;
    margin: 0;
}

/* Container */
.profile-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    backdrop-filter: blur(6px);
}

/* Profile Card (Glassmorphism) */
.profile-card {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 32px rgba(186, 104, 200, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
}

    .profile-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(186, 104, 200, 0.3);
    }

/* Header Style */
.card-header {
    background: linear-gradient(to right, #ecb3ff, #f8bbd9);
    font-weight: 700;
    font-size: 20px;
    color: #4a148c;
    border-bottom: 1px solid #e0e0e0;
    padding: 18px;
    text-align: center;
    letter-spacing: 1px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Profile Pic Column */
.profile-pic-col .card {
    max-height: 500px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, #f8bbd9, #e1bee7);
    color: #4a148c;
    border-radius: 20px;
    text-align: center;
    padding: 25px;
    transition: all 0.3s ease;
}

    .profile-pic-col .card:hover {
        transform: translateY(-4px);
    }

.img-account-profile {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 15px rgba(186, 104, 200, 0.4);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

    .img-account-profile:hover {
        transform: scale(1.05);
    }

/* Upload Button */
.custom-file-btn {
    cursor: pointer;
    background: linear-gradient(45deg, #d500f9, #f06292);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    width: 100%;
    transition: 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(186, 104, 200, 0.3);
}

    .custom-file-btn:hover {
        background: linear-gradient(45deg, #c2185b, #7b1fa2);
        transform: scale(1.02);
    }

    .custom-file-btn input[type="file"] {
        display: none;
    }

/* Personal Details Section */
.details-col .card {
    height: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(186, 104, 200, 0.15);
    overflow: hidden;
}

.details-col .card-body {
    max-height: 580px;
    overflow-y: auto;
    padding: 25px;
}

    /* Scrollbar */
    .details-col .card-body::-webkit-scrollbar {
        width: 8px;
    }

    .details-col .card-body::-webkit-scrollbar-thumb {
        background: #ba68c8;
        border-radius: 10px;
    }

    .details-col .card-body::-webkit-scrollbar-track {
        background: #f3e5f5;
        border-radius: 10px;
    }

/* Input Fields */
.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid #ce93d8;
    padding: 10px 14px;
    transition: 0.3s ease;
    font-size: 14px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #ab47bc;
        box-shadow: 0 0 0 0.2rem rgba(186, 104, 200, 0.25);
    }

/* Save Button */
.btn-primary {
    background: linear-gradient(45deg, #d500f9, #f06292);
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(186, 104, 200, 0.3);
    font-size: 15px;
}

    .btn-primary:hover {
        background: linear-gradient(45deg, #d500f9, #f06292);
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .img-account-profile {
        width: 120px;
        height: 120px;
    }

    .details-col .card-body {
        max-height: none;
        overflow: visible;
    }
}

.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);
    }
}

@media (max-width: 992px) {
    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;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .profile-container {
        gap: 12px;
        padding: 6px;
    }

    .profile-pic-col .card,
    .details-col .card {
        border-radius: 14px;
    }

    .card-header {
        font-size: 17px;
        padding: 12px;
    }

    .img-account-profile {
        width: 100px;
        height: 100px;
    }

    .details-col .card-body {
        padding: 14px;
    }

    .btn-primary {
        width: 100%;
    }
}

