@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=DM+Sans:ital@0;1&display=swap');

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes successPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sendme-citam-wrapper {
    max-width: 500px;
    margin: 30px auto;
    padding: 35px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.sendme-citam-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6b1d2a, #8b1a2b, #6b1d2a);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 0; }
    50%      { background-position: 100% 0; }
}

.animate-in {
    animation: fadeSlideUp 0.5s ease both;
}

.sendme-citam-form .sendme-form-row:nth-child(1) { animation-delay: 0.05s; }
.sendme-citam-form .sendme-form-row:nth-child(2) { animation-delay: 0.1s; }
.sendme-citam-form .sendme-form-row:nth-child(3) { animation-delay: 0.15s; }
.sendme-citam-form .sendme-form-row:nth-child(4) { animation-delay: 0.2s; }
.sendme-citam-form .sendme-form-row:nth-child(5) { animation-delay: 0.25s; }
.sendme-citam-form .sendme-form-submit            { animation-delay: 0.3s; }

.sendme-citam-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-left: 4px solid #2e7d32;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}

.sendme-citam-success .success-icon {
    display: inline-block;
    margin-bottom: 10px;
    animation: successPulse 0.6s ease 0.3s;
}

.sendme-citam-success h3 {
    color: #2e7d32;
    margin: 0 0 8px;
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
}

.sendme-citam-success strong {
    font-size: 20px;
    color: #6b1d2a;
    letter-spacing: 2px;
    display: inline-block;
    background: #fff;
    padding: 4px 16px;
    border-radius: 4px;
    margin: 4px 0;
}

.sendme-citam-error {
    background: #fbe9e7;
    border: 1px solid #ef9a9a;
    border-left: 4px solid #c62828;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #c62828;
}

.sendme-citam-form .sendme-form-row {
    margin-bottom: 18px;
}

.sendme-citam-form .sendme-form-group {
    position: relative;
}

.sendme-citam-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.sendme-citam-form .field-icon {
    color: #6b1d2a;
    flex-shrink: 0;
}

.sendme-citam-form .required {
    color: #c62828;
}

.sendme-citam-form input[type="text"],
.sendme-citam-form input[type="email"],
.sendme-citam-form input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.sendme-citam-form input::placeholder {
    color: #bbb;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    font-style: italic;
}

.sendme-citam-form input:focus {
    border-color: #6b1d2a;
    box-shadow: 0 0 0 4px rgba(107, 29, 42, 0.1);
    outline: none;
    background: #fff;
}

.sendme-citam-form input:hover:not(:focus) {
    border-color: #ccc;
    background: #fff;
}

.sendme-form-submit {
    margin-top: 24px;
    text-align: center;
}

.sendme-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #6b1d2a, #8b1a2b);
    color: #fff;
    padding: 15px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 6px 20px rgba(107, 29, 42, 0.35);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.sendme-submit-btn .btn-icon {
    transition: transform 0.3s ease;
}

.sendme-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 29, 42, 0.45);
    filter: brightness(1.1);
}

.sendme-submit-btn:hover .btn-icon {
    transform: scale(1.15);
}

.sendme-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 29, 42, 0.3);
}

@media (max-width: 600px) {
    .sendme-citam-wrapper {
        margin: 12px;
        padding: 20px;
    }

    .sendme-submit-btn {
        padding: 14px 24px;
    }
}
