/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --ios-violet: #7C3AED; /* Main Violet */
    --ios-violet-light: #F5F3FF;
    --ios-bg: #FBFBFE;
    --ios-card-shadow: 0 10px 30px -5px rgba(124, 58, 237, 0.08), 0 4px 15px -5px rgba(0, 0, 0, 0.04);
    --ios-radius: 20px;
    --ios-text: #1F2937;
    --ios-text-muted: #6B7280;
}

body {
    background-color: var(--ios-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ios-text);
    -webkit-font-smoothing: antialiased;
}

/* iOS Card Style */
.ios-card {
    background: #ffffff;
    border-radius: var(--ios-radius);
    border: 1px solid rgba(124, 58, 237, 0.05);
    box-shadow: var(--ios-card-shadow);
    padding: 2.5rem;
    transition: transform 0.2s ease;
}

/* Modern Inputs */
.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    padding: 12px 16px;
    font-size: 0.95rem;
    background-color: #F9FAFB;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: var(--ios-violet);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* Premium Violet Button */
.btn-violet {
    background: var(--ios-violet);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-violet:hover {
    background: #6D28D9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.btn-violet:active {
    transform: translateY(0);
}

/* Navigation - Centered Floating Style */
.ios-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-link {
    color: var(--ios-text-muted);
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 10px;
    transition: all 0.2s;
}

.nav-link.active {
    color: var(--ios-violet) !important;
    background: var(--ios-violet-light);
}

/* Drag & Drop Area */
.ios-upload-box {
    border: 2px dashed #DDD6FE;
    background: #FDFEFE;
    border-radius: 18px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ios-upload-box:hover {
    border-color: var(--ios-violet);
    background: var(--ios-violet-light);
}

/* Animations */
.fade-up {
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* assets/css/style.css */

/* Bottom Tab Bar Styling */
.ios-tab-bar {
    position: fixed;
    bottom: 20px; /* Floating look */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2000;
}

.tab-item {
    text-decoration: none;
    color: var(--ios-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    flex: 1;
}

.tab-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.tab-item span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-item.active {
    color: var(--ios-violet);
}

.tab-item.active i {
    transform: translateY(-2px);
}

/* Adjust main content padding so it doesn't get hidden behind the bar */
main {
    padding-bottom: 120px !important; 
}

/* Hide the old top navbar if it exists */
.ios-nav {
    display: none; 
}

/* Add a simple Top Brand header instead */
.mobile-header {
    padding: 20px 0;
    background: transparent;
}


/* Profile Section */
.profile-header {
    text-align: center;
    padding: 20px 0 30px 0;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--ios-card-shadow);
    margin-bottom: 15px;
}

/* iOS Grouped List */
.ios-list-group {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--ios-card-shadow);
    margin-bottom: 25px;
    padding: 0;
}

.ios-list-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none !important;
    color: var(--ios-text);
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.2s;
}

.ios-list-item:last-child {
    border-bottom: none;
}

.ios-list-item:active {
    background: #F9FAFB;
}

.ios-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.ios-list-label {
    flex-grow: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.ios-chevron {
    color: #C7C7CC;
    font-size: 0.8rem;
}

/* Specific Icon Colors */
.bg-blue { background-color: #007AFF; }
.bg-violet { background-color: var(--ios-violet); }
.bg-orange { background-color: #FF9500; }
.bg-green { background-color: #34C759; }
.bg-red { background-color: #FF3B30; }



