﻿.kredi-form {
    width: calc(100% - 40px);
    background: var(--dark-gray);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 40px;
    justify-self: anchor-center;
}

    .kredi-form label {
        font-weight: 600;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .kredi-form input,
    .kredi-form select {
        width: 100%;
        padding: 10px;
        margin-top: 6px;
        margin-bottom: 16px;
        border-radius: 8px;
        border: 1px solid var(--gray);
        background-color: var(--dark-gray);
        color: var(--white);
    }

.btnGreen {
    width: max-content;
    padding: 10px 20px;
    background: var(--green);
    color: var(--white);
    border-radius: 10px;
    transition: 300ms;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 14px;
}

    .btnGreen:hover {
        background: var(--green-hover);
    }

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    margin-top: 20px;
    border-top-left-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid black;
}

th, td {
    border: 1px solid #2e2e2e;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

th {
    /* background-color: var(--dark-gray); */
    /* color: var(--white); */
}

#sonuc p {
    font-weight: 600;
    font-size: 16px;
    margin-top: 16px;
    color: var(--white);
}

select {
    border-radius: 5px;
    outline: none;
    border: 1px solid #404040;
    padding: 3px 10px;
    font-size: 12px;
    width: 200px;
    background: var(--black);
}

input {
    background: 0;
    outline: 0;
    border: 0;
    padding: 6px 2px;
    border-bottom: 1px solid gray;
    transition: 300ms;
    width: calc(100% - 20px) !important;
}

    input:focus {
        border-color: var(--green);
    }

@media (max-width: 768px) {
    #sonuc {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 15px;
        margin-bottom: 2rem;
    }

    th,
    td {
        font-size: 11px !important;
    }
}
