/* Opšti stilovi primenjeni na sve stranice */
body {
    background-color: #0E0F11;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}
.container-box {
    max-width: 800px;
    margin: auto;
    padding-top: 80px;
}

/* Stilovi za header i footer */
.header {
    background-color: #1A1B1E;
    padding: 20px;
    text-align: center;
    position: relative;
}
.logo {
    height: 50px;
    max-width: 150px;
    padding-bottom: 20px;
    padding-top: 20px;
    
}
.footer {
    background-color: #1A1B1E;
    padding: 10px;
    text-align: center;
    margin-top: 30px;
    color: white;
}

/* Stilovi za progress bar */
.progress-bar-container {
    width: 100%;
    max-width: 500px;
    background-color: #2A2B2E;
    border-radius: 5px;
    overflow: hidden;
    margin: 1px auto;
}
.progress-bar {
    height: 5px;
    background-color: #fcd504;
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

/* Grupa 1: Stilovi za input polja */
.form-control {
    width: 80%;
    max-width: 500px;
    padding: 12px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #fcd504;
    background-color: #26282B;
    color: white;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Grupa 2: Kartice 2 u jednom redu 2 u drugom redu */
.selection-row.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
}
.selection-card.grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: #3d4047;
    padding: 20px;
    text-align: center;
}
.selection-card.grid img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}
.selection-card.grid h4 {
    margin-top: 10px;
    font-weight: bold;
}

/* Grupa 3: Kartice jedna ispod druge, tekst levo, ikonice ili checkbox desno */
.selection-row.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.selection-card.column {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 700px;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: #3d4047;
    padding: 20px;
    text-align: left;
}
.selection-card.column .text-content {
    flex: 1;
    text-align: left;
}
.selection-card.column .icon {
    font-size: 40px;
    width: 60px;
    text-align: right;
}

/* Stilovi za dugmad */
.btn-primary {
    background-color: #fcd504;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.btn-primary:hover {
    background-color: #e6c300;
}

.body-fat-image {
    width: 20%; 
    height: auto;
    border-radius: 10px;
    margin-left: 15px;
}

.selection-card img {
    width: 100px;  /* Direktno postavlja širinu slike */
    height: auto;  /* Zadržava proporcije */
    max-height: 120px; /* Sprečava prevelike slike */
    border-radius: 10px;
    object-fit: contain;
}

.plan-textarea {
    width: 100%;
    min-height: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 5px;
}

.rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.stars {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.stars input {
    display: none;
}
.stars label {
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: transform 0.2s, color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stars label span {
    font-size: 14px;
    margin-bottom: 5px;
}
.stars label::after {
    content: "⭐";
    color: white;
}
.stars input:checked + label::after,
.stars label:hover::after {
    color: #fcd504;
    transform: scale(1.2);
}