/* Ötlet kártya doboz */
.idea-card {
    background: #ffffff;
    padding: 12px 25px 25px 18px;
    margin: 30px auto 30px 0;
    background: #fefefe;
    border: 1px solid #e0e0e0;
}

.idea-submit-form {
    background: #ffffff;
    padding: 12px 25px 25px 18px;
    margin: 30px auto;
    border: 1px solid #e0e0e0;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.idea-submit-form .ideaboard-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.idea-submit-form .ideaboard-row label {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

.idea-submit-form label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

.idea-submit-form input,
.idea-submit-form textarea,
.vote-form input,
.vote-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 0;
}

.idea-submit-form textarea {
    height: 150px;
    resize: vertical;
}

.idea-submit-form input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 16px;
    height: 48px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
    width: auto;
}

.idea-submit-form input[type="submit"]:hover {
    background-color: #005b8a;
}

@media screen and (max-width: 700px) {
    .idea-submit-form .ideaboard-row {
        flex-direction: column;
    }
}


/* Tipográfia: cím, leírás, szavazatok */
.idea-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.idea-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

.idea-votes {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 20px;
}

.vote-form {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.vote-data-fields {
    display: grid;
    gap: 20px;
}
.ideahint {
    font-size: 14px;
    font-style: italic;
}

/* Gombok */
.vote-form button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 16px;
    height: 48px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    justify-self: start;
}

.vote-form button:hover {
    background-color: #005b8a;
}

.vote-form button:disabled {
    opacity: 0.1;
    cursor: not-allowed;
}

/* Beküldő form címkék */
.idea-submit-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    grid-column: 1 / -1;
}

.idea-submit-form label.checkboxlabel,
.vote-form label.checkboxlabel {
    font-size: 14px;
    font-weight: 400;
}
.idea-submit-form input[type="checkbox"],
.vote-form input[type="checkbox"] {
    float: left;
    width: 14px;
    margin: -4px 8px 0 0;
}

/* Reszponzív */
@media screen and (max-width: 700px) {
    .vote-form,
    .idea-submit-form {
        grid-template-columns: 1fr;
    }
}
