/* ============================================================
   PROFILE SETTINGS — Premium Animated Design v2
   ============================================================ */

/* ── Hero Header ── */
.prof-hero-header {
    position: relative;
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    margin-bottom: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: prof-slide-down 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes prof-slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.prof-hero-glow {
    position: absolute;
    top: -60%;
    right: -10%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: prof-glow-float 8s ease-in-out infinite alternate;
}

@keyframes prof-glow-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 20px) scale(1.15); }
}

/* Floating Particles */
.prof-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.prof-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    background: conic-gradient(var(--teal), var(--violet), var(--amber));
    border-radius: 50%;
    opacity: 0.35;
    animation: prof-particle-drift var(--d) ease-in-out infinite alternate;
    animation-delay: var(--del);
}

@keyframes prof-particle-drift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.35; }
    50% { opacity: 0.6; }
    100% { transform: translate(30px, -25px) rotate(180deg) scale(1.3); opacity: 0.2; }
}

.prof-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prof-hero-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.prof-hero-icon-wrap {
    position: relative;
    flex-shrink: 0;
}

.prof-hero-icon-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(var(--violet), var(--teal), var(--amber), var(--violet));
    animation: ring-spin 5s linear infinite;
    opacity: 0.5;
}

.prof-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--violet), var(--violet-d));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.prof-hero-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.03em;
}

.prof-hero-sub {
    font-size: 0.82rem;
    color: var(--text3);
    margin: 0.35rem 0 0;
    font-weight: 500;
}

/* ── Tab Navigation ── */
.prof-tabs-nav {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    margin-top: 1rem;
    animation: fade-up 0.5s ease 0.15s backwards;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prof-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    background: var(--surface);
    color: var(--text3);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    overflow: hidden;
}

.prof-tab i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.prof-tab:hover {
    border-color: var(--border2);
    color: var(--text2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.prof-tab:hover i {
    transform: scale(1.15);
}

.prof-tab.active {
    background: linear-gradient(145deg, var(--violet), var(--violet-d));
    border-color: var(--violet);
    color: #fff;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3), 0 2px 4px rgba(124, 58, 237, 0.2);
}

.prof-tab.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.prof-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.prof-tab.active .prof-tab-indicator {
    width: 40%;
}

/* ── Main Layout ── */
.prof-main-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.75rem;
    margin-top: 0.5rem;
    animation: fade-up 0.6s ease 0.2s backwards;
}

/* ── Animated Brand Card ── */
.prof-brand-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    align-self: start;
    position: sticky;
    top: 2rem;
}

.prof-brand-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--border2);
    transform: translateY(-4px);
}

.prof-brand-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface2) 100%);
    z-index: 0;
}

.prof-brand-card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(13, 148, 136, 0.04) 50%, rgba(217, 119, 6, 0.03) 100%);
    animation: prof-bg-shift 10s ease-in-out infinite alternate;
}

@keyframes prof-bg-shift {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.prof-brand-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.75rem 2rem;
}

/* ── Morphing Avatar ── */
.prof-avatar-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.prof-avatar-morph-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--teal), var(--violet), var(--amber), var(--teal-l), var(--violet), var(--teal));
    animation: prof-morph-spin 4s linear infinite;
    opacity: 0.75;
    filter: blur(1px);
}

@keyframes prof-morph-spin {
    to { transform: rotate(360deg); }
}

.prof-avatar-glow-pulse {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    animation: prof-avatar-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes prof-avatar-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.prof-avatar-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    position: relative;
    z-index: 1;
    border: 5px solid var(--surface);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.prof-avatar-wrap:hover .prof-avatar-container {
    transform: scale(1.06);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

.prof-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.prof-avatar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text3);
}

.prof-avatar-placeholder i {
    font-size: 2rem;
    opacity: 0.5;
    animation: prof-cam-bob 2.5s ease-in-out infinite;
}

@keyframes prof-cam-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.prof-avatar-placeholder span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.prof-avatar-edit-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 38px;
    height: 38px;
    background: linear-gradient(145deg, var(--teal), var(--teal-d));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.45);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid var(--surface);
}

.prof-avatar-wrap:hover .prof-avatar-edit-badge {
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 6px 22px rgba(13, 148, 136, 0.55);
}

/* ── Brand Name ── */
.prof-brand-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 0.3rem;
    text-align: center;
    letter-spacing: -0.02em;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prof-brand-subtitle {
    font-size: 0.72rem;
    color: var(--text3);
    text-align: center;
    margin: 0 0 1.75rem;
    line-height: 1.7;
    font-weight: 500;
}

.prof-brand-subtitle span {
    opacity: 0.6;
}

/* ── Photo Action Buttons (Change / Delete) ── */
.prof-photo-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    animation: prof-actions-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.prof-photo-actions-inline {
    margin-top: 0.6rem;
    margin-bottom: 0;
    justify-content: flex-start;
}

@keyframes prof-actions-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.prof-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    position: relative;
    overflow: hidden;
}

.prof-photo-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.prof-photo-btn:hover i {
    transform: scale(1.15);
}

/* Change Button */
.prof-photo-btn-change {
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.08), rgba(13, 148, 136, 0.04));
    color: var(--teal-d);
    border-color: rgba(13, 148, 136, 0.2);
}

.prof-photo-btn-change:hover {
    background: linear-gradient(145deg, var(--teal), var(--teal-d));
    color: #fff;
    border-color: var(--teal);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
    transform: translateY(-2px);
}

.prof-photo-btn-change:active {
    transform: translateY(0) scale(0.97);
}

/* Delete Button */
.prof-photo-btn-delete {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.06), rgba(239, 68, 68, 0.02));
    color: var(--red);
    border-color: rgba(239, 68, 68, 0.15);
}

.prof-photo-btn-delete:hover {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #fff;
    border-color: #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    transform: translateY(-2px);
}

.prof-photo-btn-delete:active {
    transform: translateY(0) scale(0.97);
}

/* Shimmer effect on hover */
.prof-photo-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.prof-photo-btn:hover::after {
    left: 150%;
}

/* ── Stat Orbs ── */
.prof-stats-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.25rem;
}

.prof-stat-orb {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 0.25rem;
    border-radius: var(--radius-lg);
    background: var(--surface3);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.prof-stat-orb:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.prof-stat-orb-ring {
    position: absolute;
    top: -1px;
    left: 25%;
    right: 25%;
    height: 2px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prof-stat-orb:hover .prof-stat-orb-ring {
    opacity: 1;
}

.prof-stat-orb-ring.teal { background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.prof-stat-orb-ring.violet { background: linear-gradient(90deg, transparent, var(--violet), transparent); }
.prof-stat-orb-ring.amber { background: linear-gradient(90deg, transparent, var(--amber), transparent); }

.prof-stat-orb-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.prof-stat-orb-inner i {
    font-size: 0.85rem;
    color: var(--teal);
    margin-bottom: 0.1rem;
}

.prof-stat-orb:nth-child(2) .prof-stat-orb-inner i { color: var(--violet); }
.prof-stat-orb:nth-child(3) .prof-stat-orb-inner i { color: var(--amber); }

.prof-stat-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.prof-stat-orb-inner small {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Brand Status ── */
.prof-brand-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid rgba(13, 148, 136, 0.12);
}

.prof-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: prof-status-blink 2s ease-in-out infinite;
}

@keyframes prof-status-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(13, 148, 136, 0); }
}

.prof-brand-status span {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--teal-d);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Form Area ── */
.prof-form-area {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Tab Panels ── */
.prof-tab-panel {
    display: none;
    animation: prof-panel-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.prof-tab-panel.active {
    display: block;
}

@keyframes prof-panel-enter {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Form Cards ── */
.prof-form-card {
    position: relative;
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: prof-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--card-i, 0) * 0.1s) backwards;
}

@keyframes prof-card-enter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.prof-form-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border2);
    transform: translateY(-2px);
}

/* Shine effect on hover */
.prof-form-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.8s ease;
    z-index: 0;
    pointer-events: none;
}

.prof-form-card:hover .prof-form-card-shine {
    left: 150%;
}

.prof-form-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(180deg, var(--surface2) 0%, var(--surface) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.prof-form-card-icon {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.prof-form-card:hover .prof-form-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.prof-form-card-icon.teal {
    background: linear-gradient(145deg, var(--teal-pale2), var(--teal-pale));
    color: var(--teal);
    box-shadow: 0 3px 12px rgba(13, 148, 136, 0.15);
}

.prof-form-card-icon.amber {
    background: linear-gradient(145deg, var(--amber-pale2), var(--amber-pale));
    color: var(--amber);
    box-shadow: 0 3px 12px rgba(217, 119, 6, 0.15);
}

.prof-form-card-icon.violet {
    background: linear-gradient(145deg, var(--violet-pale), #ede9fe);
    color: var(--violet);
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.15);
}

.prof-form-card-icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    animation: prof-icon-pulse 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
}

.prof-form-card-icon.teal .prof-form-card-icon-pulse { background: rgba(13, 148, 136, 0.1); }
.prof-form-card-icon.amber .prof-form-card-icon-pulse { background: rgba(217, 119, 6, 0.1); }
.prof-form-card-icon.violet .prof-form-card-icon-pulse { background: rgba(124, 58, 237, 0.1); }

@keyframes prof-icon-pulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

.prof-form-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}

.prof-form-card-sub {
    font-size: 0.72rem;
    color: var(--text3);
    margin: 0.15rem 0 0;
    font-weight: 500;
}

.prof-form-card-body {
    padding: 1.5rem 1.75rem;
    position: relative;
    z-index: 1;
}

/* ── Form Grid & Fields ── */
.prof-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.prof-field {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: prof-field-enter 0.4s ease calc(var(--fi, 0) * 0.08s) backwards;
}

@keyframes prof-field-enter {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.prof-field-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text2);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.prof-field-label i {
    font-size: 0.82rem;
    color: var(--text3);
}

.prof-optional-tag {
    font-weight: 500;
    text-transform: none;
    color: var(--text3);
    font-size: 0.65rem;
    letter-spacing: 0;
}

.prof-input-group {
    position: relative;
}

.prof-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.prof-input::placeholder {
    color: var(--text3);
    font-weight: 400;
}

.prof-input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08), 0 4px 12px rgba(124, 58, 237, 0.06);
}

.prof-textarea {
    resize: vertical;
    min-height: 70px;
}

.prof-input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--violet));
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.prof-input:focus ~ .prof-input-focus-line {
    width: calc(100% - 4px);
}

/* ── Upload Zones ── */
.prof-upload-zone {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    min-height: 120px;
}

.prof-upload-zone-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--surface2) 0%, var(--surface3) 100%);
    transition: all 0.3s ease;
}

.prof-upload-zone:hover {
    border-color: var(--teal);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 0 4px rgba(13, 148, 136, 0.06);
}

.prof-upload-zone:hover .prof-upload-zone-bg {
    background: linear-gradient(145deg, var(--teal-pale) 0%, var(--teal-pale2) 100%);
    opacity: 0.3;
}

.prof-upload-preview {
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-sm);
    /* Checkerboard pattern to show PNG transparency */
    background-image:
        linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
        linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
        linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
    background-color: #fff;
    padding: 4px;
}

.prof-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.prof-upload-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--teal-pale2), var(--teal-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--teal);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.prof-upload-icon-wrap.violet {
    background: linear-gradient(145deg, var(--violet-pale), #ede9fe);
    color: var(--violet);
}

.prof-upload-zone:hover .prof-upload-icon-wrap {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.2);
}

.prof-upload-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text2);
}

.prof-upload-hint {
    font-size: 0.65rem;
    color: var(--text3);
    font-weight: 500;
}

/* ── Save Bar ── */
.prof-save-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: fade-up 0.5s ease 0.3s backwards;
}

.prof-save-security {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.75rem;
    color: var(--text3);
    font-weight: 500;
}

.prof-security-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prof-security-icon-wrap i {
    color: var(--teal);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.prof-security-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.15);
    animation: prof-sec-pulse 3s ease-in-out infinite;
}

@keyframes prof-sec-pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.5); opacity: 0; }
}

.prof-save-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.25rem;
    background: linear-gradient(145deg, var(--teal) 0%, var(--teal-d) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.35), 0 2px 4px rgba(13, 148, 136, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.prof-save-btn-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 2;
}

.prof-save-btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
    animation: prof-shimmer 3s ease-in-out infinite;
}

@keyframes prof-shimmer {
    0% { left: -100%; }
    40% { left: 100%; }
    100% { left: 100%; }
}

.prof-save-btn-ripple {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.prof-save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.4), 0 4px 8px rgba(13, 148, 136, 0.25);
}

.prof-save-btn:hover .prof-save-btn-ripple {
    opacity: 1;
}

.prof-save-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

