/* assets/css/style.css */
:root {
    --primary: #ff4757;       /* The Corral Red */
    --primary-hover: #ff6b81;
    --secondary: #2f3542;     /* Dark Grey */
    --bg-light: #f1f2f6;      /* Light Grey Background */
    --card-bg: #ffffff;
    --text-main: #2f3542;
    --sidebar-width: 280px;
    --success: #2ed573;
    --danger: #ff4757;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- BUTTONS --- */
.btn-corral {
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}
.btn-corral:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: white;
}
.btn-outline-corral {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
}
.btn-outline-corral:hover {
    background-color: var(--primary);
    color: white;
}

/* --- SIDEBAR LAYOUT --- */
.d-flex-wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar-wrapper {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    min-height: 100vh;
    background-color: #fff;
    border-right: 1px solid #eee;
    position: fixed; /* Sticky sidebar */
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: margin .25s ease-out;
}

#page-content-wrapper {
    width: 100%;
    margin-left: var(--sidebar-width); /* Push content right */
    padding: 20px;
    min-height: 100vh;
}

/* Sidebar Links */
.list-group-item {
    border: none;
    padding: 15px 25px;
    font-weight: 500;
    color: #747d8c;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.2s;
}
.list-group-item:hover, .list-group-item.active {
    background-color: #fff0f1;
    color: var(--primary);
    font-weight: 600;
    border-left: 4px solid var(--primary);
}
.list-group-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* --- CARD SWIPE UI --- */
.tinder-card {
    width: 100%;
    max-width: 400px;
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}
.card-details-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
}
.action-buttons {
    margin-top: -30px;
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn-action {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 30px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-action.dislike { color: var(--danger); }
.btn-action.like { color: var(--success); }
.btn-action:hover { transform: scale(1.1); }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -280px; /* Hide sidebar on mobile initially */
    }
    #page-content-wrapper {
        margin-left: 0;
    }
    .wrapper-toggled #sidebar-wrapper {
        margin-left: 0;
    }
}