/* =========================
   Eliphotos – Global Style
   ========================= */

body {
    background-color: #f8f9fa;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #212529;
}

/* Navbar */
.navbar {
    background-color: #0d6efd;
}
.navbar-brand,
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
}
.navbar-nav .nav-link:hover {
    text-decoration: underline;
}

/* Containers */
.container {
    max-width: 1100px;
}

/* Cards (posts, inbox, profile) */
.card {
    border-radius: 14px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.card-footer {
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

/* Buttons */
.btn-primary {
    border-radius: 25px;
    padding: 6px 18px;
}
.btn-danger {
    border-radius: 25px;
}
.btn-outline-secondary {
    border-radius: 25px;
}

/* Forms */
.form-control {
    border-radius: 12px;
}
.form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Photo grid (index / profile) */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.photo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Public badge */
.badge-public {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(13,110,253,0.9);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Inbox */
.inbox-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
}
.inbox-item.unread {
    background-color: #e9f1ff;
    font-weight: 600;
}

/* Profile */
.profile-header {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    padding: 25px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.quota-bar {
    height: 10px;
    border-radius: 10px;
    background-color: #dee2e6;
    overflow: hidden;
}

.quota-bar-inner {
    height: 100%;
    background-color: #0d6efd;
}

/* Admin */
.admin-card {
    border-left: 5px solid #0d6efd;
}

/* Alerts */
.alert {
    border-radius: 14px;
}

/* Footer */
.footer {
    text-align: center;
    color: #777;
    padding: 30px 0;
    font-size: 14px;
}
