/* =========================================
   MzansiFaya - Vibrant Flame & Dark Theme
   ========================================= */

/* ----- Base & Body ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f1f1f 100%);
    color: #f0f0f0;
    min-height: 100vh;
    padding: 20px;
}

/* ----- Main Container ----- */
main {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* ----- Headings ----- */
h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #ff7b00, #ff3d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- Links ----- */
a {
    color: #ff7b00;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffb347;
}

/* ----- Buttons & Submit ----- */
button, .btn, input[type="submit"] {
    background: linear-gradient(135deg, #ff7b00 0%, #ff3d00 100%);
    border: none;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.5);
    letter-spacing: 0.5px;
}
button:hover, .btn:hover, input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
    background: linear-gradient(135deg, #ff8c1a, #ff4d00);
}

/* ----- Forms (Login, Register, Edit) ----- */
.auth-container, form {
    background: rgba(40, 40, 40, 0.7);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 123, 0, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0 16px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: border 0.3s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #ff7b00;
    box-shadow: 0 0 10px rgba(255, 123, 0, 0.3);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ----- Alerts ----- */
.alert {
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}
.alert.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff4d4d;
    color: #ff9999;
}
.alert.success {
    background: rgba(0, 255, 0, 0.15);
    border: 1px solid #4caf50;
    color: #b9f6ca;
}

/* ----- Post Cards ----- */
.post {
    background: linear-gradient(145deg, #262626, #1e1e1e);
    border: 1px solid rgba(255, 123, 0, 0.15);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}
.post:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 123, 0, 0.5);
}

.post img {
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.post small {
    color: #aaa;
    font-size: 0.85rem;
}

/* ----- Profile Image ----- */
img[alt="Avatar"] {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff7b00;
    box-shadow: 0 0 12px rgba(255, 123, 0, 0.4);
}

/* ----- Separator ----- */
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ff7b00, transparent);
    margin: 20px 0;
}

/* ----- Pagination ----- */
a[href*="page"] {
    display: inline-block;
    margin-right: 10px;
    background: rgba(255, 123, 0, 0.15);
    padding: 6px 15px;
    border-radius: 20px;
    color: #ff7b00;
    font-weight: bold;
}
a[href*="page"]:hover {
    background: rgba(255, 123, 0, 0.3);
}

/* ----- File Input Styling ----- */
input[type="file"] {
    color: #ccc;
    background: none;
    border: none;
    padding: 8px 0;
}
.comment {
    background: rgba(30, 30, 30, 0.7);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #ff7b00;
}
.comment p {
    margin: 5px 0 0 30px;
}.notification {
    padding: 10px;
    border-left: 4px solid #ff7b00;
    margin-bottom: 10px;
}
.notification.unread {
    background: rgba(255, 123, 0, 0.1);
}
.notification.read {
    opacity: 0.7;
}.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 10px;
    max-width: 70%;
}
.message.sent {
    background: rgba(255, 123, 0, 0.2);
    margin-left: auto;
    text-align: right;
}
.message.received {
    background: rgba(255, 255, 255, 0.1);
    margin-right: auto;
}.follow-btn {
    background: #ff7b00;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.2s;
}
.follow-btn:hover {
    background: #ff8c1a;
}   .follow-btn {
    background: #ff7b00;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.2s;
}
.follow-btn:hover {
    background: #ff8c1a;
}.comment {
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(30,30,30,0.7);
    border-radius: 8px;
}
.reply-link {
    margin-left: 10px;
    font-size: 0.85rem;
    color: #ff7b00;
    cursor: pointer;
}
.reply-form {
    margin-left: 20px;
}.emoji-btn {
    vertical-align: top;
    margin-top: 5px;
}
.emoji-popup::-webkit-scrollbar { width: 4px; }
.emoji-popup::-webkit-scrollbar-thumb { background: #ff7b00; border-radius: 4px; }
/* ----- Utility ----- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }