
.tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.tab-button {
    padding: 12px 22px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button:hover {
    background-color: #e9e9e9;
}

.tab-button.active {
    background-color: #0070f3;
    color: white;
}

h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    text-align: right;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

input, textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}

input::placeholder, textarea::placeholder {
    color: #999;
}

.date-input {
    color: #666;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.description-group {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.delete-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.x-icon {
    font-size: 18px;
    font-weight: bold;
}

.add-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    width: 30%;
    margin-right:500px;
}

.plus-icon {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }

    .container {
        padding: 20px 15px;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }
}

.tab-content {
    display: none;
    padding: 10px 0;
}

.tab-content.active {
    display: block;
}

