/* ====================
   RESPONSIVE VISIBILITY
   ==================== */
.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: block;
    }
}

@media (max-width: 1023px) {
    .desktop-only {
        display: none !important; 
    }
}

/* ====================
   ACCOUNT CONTAINER
   ==================== */
.account-container {
    background: green;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: fixed;
    top: 5px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1000;
}

.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9ca3af;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.account-btn:hover {
    background: #6b7280;
}

/* Account dropdown */
.account-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 5px;
    z-index: 1001;
    border: 1px solid #e5e7eb;
}

.account-dropdown.active {
    display: block;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 5px 5px 5px 5px; 
    border-bottom: 1px solid #e5e7eb;
    justify-content: flex-start; 
    margin: 0 5px;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.user-details div {
    color: #666;
    font-size: 12px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.user-details div:first-child {
    font-weight: 600;
    color: #333;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #4a6bdf;
    color: white;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0; 
}

.fa-user {
    font-size: 14px;
    opacity: 0.8;
}

.dropdown-menu {
    list-style: none;
    padding: 0; 
    margin: 0;
    display: block; 
    opacity: 1; 
    visibility: visible; 
}

.menu-item {
    padding: 10px 5px;
    margin: 5px 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex; 
    align-items: center;
    color: #555;
    font-size: 16px;
    border-radius: 5px;
    opacity: 1; 
    visibility: visible; 
}

.menu-item.logout-btn {
    background-color: #eef2ff;
    gap: 12px;
    font-weight: 500;
    color: #2563eb;
}

.menu-item.logout-btn:hover {
    background-color: #e0e7ff;
}

.logout-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.menu-item.delete-btn {
    background-color: #fee2e2;
    gap: 12px;
    color: #dc2626;
    font-weight: 500;

}

.menu-item.delete-btn:hover {
    background-color: #fecaca;
}

/* ====================
   RESPONSIVE IMAGE & LAYOUT
   ==================== */
#responsive-image {
    transition: all 0.3s ease;
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.main-container > div {
    padding: 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.camera-upload-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

.camera-upload-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    transition: all 0.3s ease;
    width: 80px;
    height: 70px;
    box-shadow: 0 4px 10px rgba(106, 142, 251, 0.4);
}

.camera-upload-label:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 142, 251, 0.6);
}

.camera-upload-label i {
    font-size: 30px;
    margin-bottom: 2px;
}

.camera-upload-label span {
    font-size: 12px;
    font-weight: 500;
}

.upload-input {
    display: none;
}

/* Medium screens (tablets) */
@media (max-width: 1024px) {
    .upload-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .upload-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .upload-container {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .upload-container {
        justify-content: center;
    }
}