.axepta-form {
    background-color: white;
    padding: 24px;
    display: grid;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.axepta-form *,
.axepta-form *::before,
.axepta-form *::after {
    box-sizing: border-box;
}

.axepta-form h2 {
    grid-column: span 2;
    text-align: center;
    padding-bottom: 12px;
    margin: 0;
}

.axepta-form label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #555;
    gap: 10px;
    min-width: 0;
}

.axepta-form input,
.axepta-form button,
.axepta-form textarea,
.axepta-form select {
    width: 100%;
    max-width: 100%;
    font: inherit;
    padding: 0 12px;
    border-radius: 6px;
    height: 40px;
    min-width: 0;
}

.axepta-form input,
.axepta-form select {
    border: 1px solid #ccc;
    transition: border-color 0.3s;
    background-color: #fff;
}

.axepta-form input:focus,
.axepta-form select:focus,
.axepta-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.axepta-form textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
    padding: 12px;
    border: 1px solid #ccc;
}

.axepta-form label[for="message"],
.axepta-form p {
    grid-column: span 2;
}

.axepta-form button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    grid-column: span 2;
    text-transform: uppercase;
    font-weight: 600;
    justify-content: center;
}

.axepta-form button:hover {
    background-color: #0056b3;
}

.success {
    color: green;
    font-weight: bold;
    grid-column: span 2;
    text-align: center;
}

.error {
    color: red;
    font-weight: bold;
    grid-column: span 2;
    text-align: center;
}

@media (max-width: 600px) {
    .axepta-form {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .axepta-form h2,
    .axepta-form label[for="message"],
    .axepta-form p,
    .axepta-form button {
        grid-column: span 1;
    }
}