/* === Profile Page Styling (Premium Redesign) === */
.spu-profile-wrapper {
    max-width: 950px;
    margin: 50px auto;
    padding: 35px;
    background: #1a1a1a;
    color: #f5f5f5;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.65);
    font-family: 'Segoe UI', sans-serif;
}

.spu-profile-title {
    text-align: center;
    margin-bottom: 35px;
    font-size: 30px;
    font-weight: 700;
    color: #00e1ff;
    letter-spacing: 1px;
}

.spu-profile-form {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Left Side */
.spu-profile-left {
    flex: 1 1 250px;
    text-align: center;
    position: relative;
}

.spu-profile-photo {
    position: relative;
    display: inline-block;
}

.spu-profile-photo img.spu-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #00e1ff;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.spu-profile-photo img.spu-avatar:hover {
    transform: scale(1.05);
}

/* Avatar Hover Overlay */
.spu-avatar-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #00e1ff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
}

.spu-avatar-overlay:hover {
    background: #009fcc;
    transform: scale(1.1);
}

.spu-upload-btn input {
    display: none;
}

.spu-username {
    margin-top: 15px;
    font-size: 16px;
    color: #aaa;
    font-weight: 500;
}

/* Right Side */
.spu-profile-right {
    flex: 2 1 600px;
}

.spu-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.spu-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #00e1ff;
}

/* Fields */
.spu-field {
    margin-bottom: 18px;
}

.spu-field label {
    display: block;
    font-size: 13px;
    color: #bbb;
    margin-bottom: 6px;
    font-weight: 500;
}

.spu-field input,
.spu-field textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #2b2b2b;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.25s;
}

.spu-field input:focus,
.spu-field textarea:focus {
    border: 1px solid #00e1ff;
    background: #333;
}

.spu-field textarea {
    min-height: 90px;
    resize: vertical;
}

/* Save Button */
.spu-save-btn {
    margin-top: 25px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00e1ff, #0072ff);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.spu-save-btn:hover {
    background: linear-gradient(135deg, #0072ff, #00e1ff);
    transform: translateY(-2px);
}

/* Toast Notification */
.spu-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(0,0,0,0.55);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 9999;
    max-width: 320px;
    text-align: center;
    line-height: 1.4;
}

.spu-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.spu-toast.success {
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
}

.spu-toast.error {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: #fff;
}

.spu-toast.info {
    background: linear-gradient(135deg, #00e1ff, #0072ff);
    color: #fff;
}
