﻿body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
}

body {
    background: #f5f5f5;
}

/* ---------- HEADER ---------- */
.header-wrapper {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
}

.app-header {
    width: 100%;
    max-width: 420px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 600;
}

.logout-btn {
    padding: 7px 14px;
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* ---------- CONTENT ---------- */
.app-content {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px 16px 90px;
}

/* ---------- FOOTER ---------- */
.footer-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
}

.app-footer {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: space-between;
    padding: 10px 6px;
}

/* Menu Items */
.menu-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

    .menu-item i {
        font-size: 18px;
    }

/* Center Menu Highlight */
.center-menu {
    color: #1976d2;
    font-weight: 600;
}

    .center-menu i {
        font-size: 22px;
    }

/* Tablet */
@media (min-width: 768px) {
    .app-header,
    .app-footer,
    .app-content {
        max-width: 480px;
    }
}

/* Logo container */
.logo {
    display: flex;
    align-items: center;
}

    /* Logo image */
    .logo img {
        height: 32px; /* app-like size */
        max-width: 120px; /* prevents overflow */
        object-fit: contain;
    }

    /* Optional: fallback text logo */
    .logo span {
        font-size: 18px;
        font-weight: 600;
    }


/* Footer container */
.app-footer {
    position: relative;
}

/* Center floating menu */
.center-fab {
    position: relative;
    top: -28px; /* lifts it above footer */
    font-weight: 600;
    color: #1976d2;
}

/* Circle button */
.fab {
    width: 54px;
    height: 54px;
    background: #1976d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Label spacing */
.center-fab span {
    margin-top: 12px;
    font-size: 12px;
}


/*   Add / Withdraw / Upgrade CSS */
.cardA1 {
    background-color: #e4e4e4;
    border-radius: 15px;
    box-shadow: 10px 10px 20px #c4c4c4, -10px -10px 20px #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 4px;
}

.button {
    background-color: #e4e4e4;
    border: none;
    border-radius: 10px;
    box-shadow: inset 5px 5px 5px #c4c4c4, inset -5px -5px 5px #ffffff;
    color: #333;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10px;
    font-weight: bold;
    margin: 3px;
    padding: 10px;
    text-transform: uppercase;
}

    .button:hover {
        box-shadow: none;
    }

.svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.cardA1 .Explore {
    color: #0c6d18;
}

    .cardA1 .Explore:hover {
        background-color: #3035cb;
        color: #e4e4e4;
    }

    .cardA1 .Explore svg {
        fill: #3035cb;
    }

    .cardA1 .Explore:hover svg {
        fill: #e4e4e4;
    }

.cardA1 .Post {
    color: #333;
}

    .cardA1 .Post:hover {
        background-color: #333;
        color: #e4e4e4;
    }

    .cardA1 .Post svg {
        fill: #333;
    }

    .cardA1 .Post:hover svg {
        fill: #e4e4e4;
    }

.cardA1 .Chat {
    color: #b82323;
}

    .cardA1 .Chat:hover {
        background-color: #b82323;
        color: #e4e4e4;
    }

    .cardA1 .Chat svg {
        fill: #b82323;
    }

    .cardA1 .Chat:hover svg {
        fill: #e4e4e4;
    }

.cardA2 {
    /*width: 360px;*/
    /*background: radial-gradient(circle at top, #0d1330, #050816);*/
    /*background: linear-gradient(135deg, #00c6ff, #0072ff);*/
    background-color: #e4e4e4;
    border-radius: 18px;
    padding: 20px;
    color: #000;
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);*/
}

/* Header */
.cardA2-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    /*background: linear-gradient(135deg, #6a5cff, #4f46e5);*/
    background-color: #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: center;
   /* background-color: #e4e4e4;*/
    border: none;
    border-radius: 50px;
    box-shadow: inset 5px 5px 5px #c4c4c4, inset -5px -5px 5px #ffffff;
}

    .avatar span {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        /*background: #000;*/
    }

.user-info h3 {
    margin: 0;
    font-size: 16px;
}

.user-info p {
    margin: 0;
    font-size: 13px;
    color: #aab0ff;
}

.company {
    font-weight: 600;
}

.verified {
    margin-left: auto;
    background: rgba(106, 92, 255, 0.15);
    color: #6a5cff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.stat-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px;
    width: 30%;
    text-align: center;
}

    .stat-box h4 {
        margin: 0;
        font-size: 18px;
    }

    .stat-box span {
        font-size: 12px;
        color: #000;

    }

/* Footer */
.cardA2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.actions {
    display: flex;
    gap: 10px;
}

    .actions button {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        cursor: pointer;
        font-size: 16px;
    }

        .actions button:hover {
            background: rgba(255, 255, 255, 0.1);
        }

.time {
    font-size: 12px;
    color: #aab0ff;
}

.invite-row {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.invite-link {
    flex: 1;
    padding: 5px;
    border-radius: 10px;
    /* background: rgba(18, 17, 23, 1); */
    border: 1px solid #b4b0b0;
    /* color: #fff; */
    font-size: 8px;
    overflow: hidden;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
}

/*   Income Structure css */

.modern-success-message {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none;
    box-shadow: inset 5px 5px 5px #386edd, inset -5px -5px 5px #1e55b7;
    color: #fff;
    cursor: pointer;
    flex-direction: row;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

    .modern-success-message:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    }

.close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

    .close-btn:hover {
        opacity: 1;
    }

.icon-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.success-icon {
    width: 40px;
    height: 40px;
}

.text-wrapper .title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.text-wrapper .message {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.85;
}

.modern-success-message::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient( circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) );
    transform: rotate(45deg);
    transition: all 0.5s ease-in-out;
}

.modern-success-message:hover::before {
    transform: rotate(90deg);
    opacity: 0.5;
}
