body {
    background-color: #f8f9fa; /* Keep default background for header/footer */
    margin: 0;
}

/* Main content background with overlay */
.main-content {
    position: relative;
    background: repeating-linear-gradient(
        to bottom,
        #b50000, #b50000 30px,
        #000000 30px, #000000 60px,
        #ffffff 60px, #ffffff 70px,
        #000000 70px, #000000 100px
    );
    background-size: 100% 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 30px 0;
    overflow: hidden;
}

/* Add overlay */
.main-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    z-index: 1;
}

/* Limit flex-wrap only to the profile section */
.main-content .profile-container {
    position: relative;
    max-width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Only applies here */
    width: 100%;
    z-index: 2;
}

/* Prevent header/footer from being affected */
.header, .footer {
    display: block; /* Ensures they are not affected by flex properties */
    width: 100%;
}

/* Card styling */
.card {
    width: 350px;
    text-align: center;
    padding: 20px;
    background: rgb(5, 29, 67);
    color: white;
    border: 2px solid white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.logo {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
}

.btn-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.object-card {
    background: rgba(255, 255, 0, 0.5);
    padding: 0px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    margin-bottom: 15px;
}
.password-input {
            width: 100%;
            padding: 12px 40px 12px 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
        }

        .toggle-password {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            font-size: 1.2em;
            color: #666;
        }

        .toggle-password:focus {
            outline: none;
            color: #333;
        }