﻿.ins-wrapper {
    max-width: 900px;
    margin: 55px auto;
    padding: 0 15px;
}

.ins-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
    padding: 34px;
}

.ins-header span {
    color: #c89b43;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.ins-header h1 {
    margin: 12px 0 10px;
    font-size: 38px;
    font-weight: 900;
    color: #17365d;
}

.ins-header p {
    margin: 0 0 28px;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
}

.ins-alerta {
    margin-bottom: 18px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

    .ins-alerta.ok {
        background: #ecfdf5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

    .ins-alerta.error {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

.ins-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.ins-col-6 {
    flex: 1 1 calc(50% - 8px);
    min-width: 260px;
}

.ins-col-12 {
    width: 100%;
}

.ins-label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
}

.ins-input,
.ins-select,
.ins-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
}

    .ins-input:focus,
    .ins-select:focus,
    .ins-textarea:focus {
        outline: none;
        border-color: #17365d;
        box-shadow: 0 0 0 4px rgba(23, 54, 93, 0.12);
    }

.ins-textarea {
    min-height: 170px;
    resize: vertical;
}

.ins-help {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.ins-validator {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #b91c1c;
}

.ins-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ins-btn {
    background: #17365d;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

    .ins-btn:hover {
        background: #073b75;
    }

.ins-note {
    font-size: 12px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .ins-card {
        padding: 22px;
    }

    .ins-header h1 {
        font-size: 30px;
    }
}
