﻿/* Regular CSS Rules */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #212529;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
}

    .profile-header img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #007bff;
        transition: opacity 0.3s;
    }

    .profile-header h1 {
        margin: 0;
        font-size: 2rem;
        color: #007bff;
    }

    .profile-header p {
        margin: 5px 0;
        font-size: 1rem;
    }

.actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}
    .actions button {
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;
        min-width: 300px;
        transition: background-color 0.3s;
    }
        .actions button:hover {
            /*background-color: #0056b3;*/
        }

.profile-details {
    margin-top: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
}

    .profile-details h2 {
        margin-top: 0;
        border-bottom: 2px solid #007bff;
        padding-bottom: 5px;
        color: #007bff;
    }

    .profile-details ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .profile-details ul li {
            padding: 10px 0;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            justify-content: space-between;
        }

            .profile-details ul li:last-child {
                border-bottom: none;
            }

            .profile-details ul li strong {
                color: #495057;
            }

/* Responsive Styles */
@media only screen and (min-width: 768px) {
    .profile-header {
        flex-direction: row;
        align-items: center;
    }

        .profile-header .info {
            flex-grow: 1;
            text-align: left;
        }

    .actions {
        justify-content: flex-end;
    }
}

/* Profile Image & Overlay */
.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image-label {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .profile-image-label:hover .edit-icon {
        opacity: 1;
        pointer-events: auto;
        cursor: pointer;
    }

.edit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

/* Overlay Styling */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.profile-image-container:hover .overlay {
    opacity: 1;
    visibility: visible;
}

.overlay button {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

    .overlay button:hover {
        background: rgba(255, 255, 255, 1);
    }

/* subscription button colors*/
.btn-brown {
    background-color: #8D6E63; /* Warm brown */
    color: #fff;
}

.btn-cyan {
    background-color: #26C6DA; /* Bright cyan */
    color: #fff;
}

.btn-gray {
    background-color: #9E9E9E; /* Neutral gray */
    color: #fff;
}

.btn-yellow {
    background-color: #FFEB3B; /* Vivid yellow */
    color: #000; /* Better contrast for yellow */
}

.btn-purple {
    background-color: #9C27B0; /* Deep purple */
    color: #fff;
}

.btn-orange {
    background-color: #FF9800; /* Vivid orange */
    color: #fff;
}

.btn-pink {
    background-color: #E91E63; /* Bright pink */
    color: #fff;
}

.btn-red {
    background-color: #F44336; /* Strong red */
    color: #fff;
}
