body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

header.big_text {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}

p.big_text {
    font-size: 22px;
    padding-left: 15px;
    margin-bottom: 20px;
}

.first_section {
    display: flex;
    align-items: flex-start;
}

ul {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.parts {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
    max-width: 850px;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.parts:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.img_card {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.parts div {
    flex: 1;
    margin: 0 20px;
}

.parts h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.parts span {
    font-size: 14px;
    color: #666;
}

.add {
    width: 110px;
    background-color: #ffcc00;
    border: none;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add:hover {
    background-color: #e6b800;
}

.cost {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    width: 300px;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.cost h2 {
    font-size: 20px;
    margin-top: 0;
}

.cost p {
    font-size: 24px;
    font-weight: bold;
    color: #27ae60;
}

.cost button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.cost button:first-of-type {
    background-color: #2ecc71;
    color: white;
}

.cost button:first-of-type:hover {
    background-color: #27ae60;
}

.cost button:last-of-type {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
}

.cost button:last-of-type:hover {
    background-color: #e9ecef;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;
    width: 50%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#sec_modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.sec_modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;
    width: 50%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.close-button {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

#items-list {
    list-style: none;
    padding: 0;
}

#items-list li {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

#items-list li:hover {
    background-color: #f9f9f9;
}
.marg {
    margin: auto;
    min-width: 1400px;
    max-width: 1400px;
}
#select {
    border: 0;
    color: green;
}
.select-list {
    display: flex;
    flex-direction: column;
}
.sec_modal-content {
    background-color: #ffffff;
    margin: 12% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sec.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.sec.close-button:hover {
    color: #e74c3c;
}

.select-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sec_modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
    text-align: center;
}

#elements {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    color: #333;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

#elements:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
    background-color: #fff;
}


.select-list button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #2ecc71;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.2);
}

.select-list button:hover {
    background-color: #27ae60;
}
