251 lines
8.5 KiB
PHP
251 lines
8.5 KiB
PHP
<x-app-layout>
|
|
<!-- Header Halaman -->
|
|
<x-slot name="header">
|
|
<div class="header-container-css">
|
|
<span class="icon-pulse-css">👤</span>
|
|
<h2 class="title-grad-css">Pengaturan Profil Saya</h2>
|
|
</div>
|
|
</x-slot>
|
|
|
|
<!-- STYLE LEMBARAN CSS UTUH (MURNI CUSTOM CSS - BEBAS DEPENDENSI TAILWIND) -->
|
|
<style>
|
|
/* 1. VARIABEL WARNA & TEMA PREMIUM */
|
|
:root {
|
|
--primary-blue: #0052cc;
|
|
--primary-glow: rgba(0, 82, 204, 0.15);
|
|
--neon-sky: #00b3ff;
|
|
--light-ice: #f2f7ff;
|
|
--clean-white: #ffffff;
|
|
--text-main: #1e293b;
|
|
--text-muted: #64748b;
|
|
--border-soft: #e2e8f0;
|
|
--card-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
|
|
--grad-banner: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0052cc 100%);
|
|
--grad-accent: linear-gradient(135deg, #0052cc 0%, #00b3ff 100%);
|
|
--danger-red: #ef4444;
|
|
--danger-grad: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
|
|
}
|
|
|
|
/* 2. BASE WRAPPER & GELEMBUNG LATAR BELAKANG */
|
|
.pr-wrapper-css {
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
background-color: #f8fafc;
|
|
min-height: 100vh;
|
|
padding: 40px 20px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pr-container-css {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Floating Blobs Background */
|
|
.blob-css {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
opacity: 0.25;
|
|
}
|
|
.blob-1 {
|
|
width: 400px;
|
|
height: 400px;
|
|
background-color: #93c5fd;
|
|
top: 5%;
|
|
left: -10%;
|
|
animation: float-slow 8s infinite ease-in-out;
|
|
}
|
|
.blob-2 {
|
|
width: 500px;
|
|
height: 500px;
|
|
background-color: #bae6fd;
|
|
bottom: 5%;
|
|
right: -10%;
|
|
animation: float-slow-rev 10s infinite ease-in-out;
|
|
}
|
|
|
|
/* 3. PREMIUM CARDS */
|
|
.pr-card-css {
|
|
background: var(--clean-white);
|
|
border: 1px solid var(--border-soft);
|
|
border-radius: 32px;
|
|
padding: 35px;
|
|
box-shadow: var(--card-shadow);
|
|
position: relative;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.pr-card-css:hover {
|
|
box-shadow: 0 20px 40px rgba(0, 82, 204, 0.05);
|
|
border-color: rgba(0, 82, 204, 0.15);
|
|
}
|
|
|
|
.pr-card-header {
|
|
border-left: 5px solid var(--primary-blue);
|
|
padding-left: 15px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.pr-card-title {
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
color: var(--text-main);
|
|
margin: 0 0 4px 0;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.pr-card-subtitle {
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
color: var(--text-muted);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Khusus Seksi Hapus Akun */
|
|
.pr-card-danger {
|
|
border-color: rgba(239, 68, 68, 0.1);
|
|
}
|
|
.pr-card-danger .pr-card-header {
|
|
border-left-color: var(--danger-red);
|
|
}
|
|
|
|
/* 4. OVERRIDING BREEZE FORM STYLES */
|
|
.pr-card-css input[type="text"],
|
|
.pr-card-css input[type="email"],
|
|
.pr-card-css input[type="password"] {
|
|
border-radius: 14px !important;
|
|
border: 1px solid var(--border-soft) !important;
|
|
padding: 12px 16px !important;
|
|
font-size: 13px !important;
|
|
width: 100% !important;
|
|
transition: all 0.3s ease !important;
|
|
margin-top: 6px !important;
|
|
background-color: #f8fafc !important;
|
|
}
|
|
|
|
.pr-card-css input:focus {
|
|
border-color: var(--primary-blue) !important;
|
|
background-color: var(--clean-white) !important;
|
|
box-shadow: 0 0 0 4px var(--primary-glow) !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
.pr-card-css label {
|
|
font-size: 11px !important;
|
|
font-weight: 800 !important;
|
|
text-transform: uppercase !important;
|
|
color: var(--text-muted) !important;
|
|
letter-spacing: 0.5px !important;
|
|
}
|
|
|
|
/* Penyesuaian Tombol Simpan Bawaan */
|
|
.pr-card-css button[type="submit"]:not(.bg-red-600) {
|
|
background: var(--grad-accent) !important;
|
|
color: var(--clean-white) !important;
|
|
font-weight: 800 !important;
|
|
font-size: 11px !important;
|
|
text-transform: uppercase !important;
|
|
letter-spacing: 0.5px !important;
|
|
padding: 12px 24px !important;
|
|
border-radius: 14px !important;
|
|
border: none !important;
|
|
cursor: pointer !important;
|
|
box-shadow: 0 8px 20px rgba(0, 82, 204, 0.2) !important;
|
|
transition: all 0.3s ease !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
.pr-card-css button[type="submit"]:not(.bg-red-600):hover {
|
|
transform: translateY(-2px) !important;
|
|
box-shadow: 0 12px 25px rgba(0, 179, 255, 0.3) !important;
|
|
}
|
|
|
|
/* 5. ANIMASI KEYFRAMES */
|
|
@keyframes float-slow {
|
|
0%, 100% { transform: translateY(0) scale(1); }
|
|
50% { transform: translateY(-12px) scale(1.03); }
|
|
}
|
|
@keyframes float-slow-rev {
|
|
0%, 100% { transform: translateY(0) scale(1); }
|
|
50% { transform: translateY(12px) scale(0.97); }
|
|
}
|
|
@keyframes bounce-slow {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-4px); }
|
|
}
|
|
|
|
/* Header Navigation Styles coherent */
|
|
.header-container-css {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.icon-pulse-css {
|
|
font-size: 24px;
|
|
animation: bounce-slow 2s infinite ease-in-out;
|
|
}
|
|
.title-grad-css {
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
background: linear-gradient(to right, var(--primary-blue), var(--neon-sky));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin: 0;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
</style>
|
|
|
|
<!-- WRAPPER UTAMA PROFIL -->
|
|
<div class="pr-wrapper-css">
|
|
<!-- Blobs Background -->
|
|
<div class="blob-css blob-1"></div>
|
|
<div class="blob-css blob-2"></div>
|
|
|
|
<div class="pr-container-css">
|
|
|
|
<!-- 1. SEKSI EDIT INFORMASI PROFIL -->
|
|
<div class="pr-card-css">
|
|
<div class="pr-card-header">
|
|
<h3 class="pr-card-title">Informasi Profil Saya</h3>
|
|
<p class="pr-card-subtitle">Perbarui nama panggilan dan alamat email utama akun Anda.</p>
|
|
</div>
|
|
<div>
|
|
@include('profile.partials.update-profile-information-form')
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 2. SEKSI UBAH KATA SANDI -->
|
|
<div class="pr-card-css">
|
|
<div class="pr-card-header">
|
|
<h3 class="pr-card-title">Perbarui Kata Sandi</h3>
|
|
<p class="pr-card-subtitle">Pastikan Anda menggunakan kata sandi yang panjang dan acak untuk menjaga keamanan akun.</p>
|
|
</div>
|
|
<div>
|
|
@include('profile.partials.update-password-form')
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 3. SEKSI HAPUS AKUN (DITARUH PALING AKHIR) -->
|
|
<div class="pr-card-css pr-card-danger">
|
|
<div class="pr-card-header">
|
|
<h3 class="pr-card-title" style="color: var(--danger-red);">Hapus Akun Permanen</h3>
|
|
<p class="pr-card-subtitle">Tindakan ini tidak dapat dibatalkan. Seluruh data Anda akan terhapus bersih dari database.</p>
|
|
</div>
|
|
<div>
|
|
@include('profile.partials.delete-user-form')
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</x-app-layout> |