:root {
    /* SOCU Theme - Temporarily matched with HaiHai Red */
    --primary-color: #8a1c20; /* Red */
    --secondary-color: #92272a; /* Red variant */
    --light-color: #ffffff;
    --outline-primary-color: #ffffff;
    --bg-card-item: rgba(255, 255, 255, 0.1);
    --text-color: #fff;
    --bg-main: #8a1c20;
}

body {
    color: var(--text-color);
    background-color: var(--light-color); /* Fallback for body bg */
}

main {
    background-color: var(--primary-color) !important;
    background: linear-gradient(
        180deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    min-height: 100vh;
}

/* Override background colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--outline-primary-color) !important;
    border-color: var(--outline-primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

.btn-light {
    color: var(--primary-color);
    background-color: #fff;
    border-color: #fff;
}

/* Navbar & Footer */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-fixed {
    background-color: var(--primary-color) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cards & Containers */
.card,
.friend-card {
    background-color: var(--bg-card-item);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Inputs */
.custom-input {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-input:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--outline-primary-color);
}

/* Links */
a {
    color: var(--text-color);
}

a:hover {
    color: var(--outline-primary-color);
}

/* Text Utilities */
.text-primary {
    color: var(--secondary-color) !important;
}

.text-white {
    color: #fff !important;
}
