.profileLayout {
    display: grid;
    grid-template-rows: repeat(1, auto);
    grid-template-columns: repeat(4, auto);
    gap: 10px;
}

.stats-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid rgb(255, 133, 0);
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding: 0 60px;
    border-right: 1px solid #dee2e6;
}

.stat-item:last-child {
    border-right: none;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 400;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    letter-spacing: -0.5px;
}

.highlight-teal {
    color: rgb(30, 188, 161) !important;
}

.stats-container-vertical {
    display: inline-flex; /* Shrinks container to fit content width */
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 5px solid rgb(255, 133, 0); /* Accent moved to the side */
    width: 200px; /* Fixed width for a sidebar look */
}

.stat-item-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    width: 80%; /* Width of the internal divider */
    border-bottom: 1px solid #eee;
}

.stat-item-vertical:last-child {
    border-bottom: none;
}

.switch-container-vertical {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    /* Mirrored: Border is now on the right */
    border-right: 5px solid rgb(255, 133, 0); 
    width: 220px;
    font-family: 'Inter', sans-serif;
}

.switch-item-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    width: 85%;
    border-bottom: 1px solid #eee;
}

.switch-item-vertical:last-child {
    border-bottom: none;
}

.switch-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 12px;
}

/* --- Toggle Switch Logic --- */

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #5d4037; /* Brown "Off" State */
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Green "On" State using your Teal */
input:checked + .slider {
    background-color: rgb(30, 188, 161);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

