.account-page {
    min-height: calc(100vh - 120px);
    padding: 130px 0 70px;
    background: linear-gradient(180deg, #fffaf5 0%, #eef4ff 100%);
}

.account-shell {
    display: flex;
    justify-content: center;
}

.account-box {
    width: 100%;
    max-width: 860px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 100px 40px 40px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.account-box h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 12px;
    text-align: center;
}

.account-sub {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 32px;
    text-align: center;
}

.profile-photo-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.profile-photo-section > label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 14px;
}

.profile-photo-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    background: #f3f4f6;
}

.profile-photo-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.form-group {
    margin-bottom: 0;
}

.account-box {
    position: relative;
    width: 100%;
    max-width: 860px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 70px 40px 40px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.account-mascot {
    position: absolute;
    top: 195px;
    left: 75%;
    transform: translateX(-50%);
    width: 320px;
    height: auto;
    z-index: 3;
    pointer-events: none;
}

.upload-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #eef4ff;
    color: #1e3a8a;
    border: 1px solid #c7d7f7;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.upload-btn:hover {
    background: #1e3a8a;
    color: white;
}

.file-name {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 6px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
#afbeelding-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}

#afbeelding-input {
    font-size: 0.95rem;
}

.account-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    flex: 1;
    min-width: 180px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(249, 115, 22, 0.28);
}

.secondary-btn {
    border: 1px solid #dbe1ea;
    background: #ffffff;
    color: #1e3a8a;
}

.secondary-btn:hover {
    background: #f8fafc;
}

.logout-btn {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff5f5;
}

.logout-btn:hover {
    background: #fee2e2;
}


@media (max-width: 800px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .account-box {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .account-box h1 {
        font-size: 1.8rem;
    }

    .account-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }
}

.site-footer {
    display: none !important;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  background: none !important;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 0;
  display: flex;
  align-items: center;
  width: auto !important;
  box-shadow: none !important;
  transform: none !important;
  margin-top: 0 !important;
}

.toggle-password:hover {
  color: #333;
}