﻿.text-red {
    color: red;
}

.invoice-title {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: normal;
}

#CaptchaInputText {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: inline;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 48%;
    font-weight: bold;
    float: right;
    text-transform: uppercase;
}

#CaptchaImage {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: inline;
    font-size: 20px;
    height: 35px;
    line-height: 1.42857;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 40%;
}

#btnRefreshCaptcha {
    border: none;
    width: 34px;
    height: 100%;
    background-color: #fff;
    cursor: pointer;
}

.btn-search {
    background-color: #4caf50;
    border: none;
    border-radius: 0;
    color: #ffffff;
    font-size: 12px;
    padding: 7px 20px;
    cursor: pointer;
    height: 40px;
}

    .btn-search:hover {
        background-color: #45a049;
        color: white;
    }

/* Responsive Styles */
@media (max-width: 991px) {
    .form-group.row {
        margin-left: 0;
        margin-right: 0;
    }

        .form-group.row .col-sm-3,
        .form-group.row .col-sm-4,
        .form-group.row .col-sm-6,
        .form-group.row .col-sm-9 {
            flex: 0 0 100%;
            max-width: 100%;
            padding-left: 0;
            padding-right: 0;
        }

    .form-label {
        margin-bottom: 8px;
        text-align: left !important;
    }

    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #CaptchaImage {
        width: 33%;
    }

    .captcha-image {
        width: 100%;
    }

    .form-control-sm-custom[style*="width: 120px"] {
        width: 100% !important;
        max-width: 180px;
    }

    .form-group.row > .col-sm-9.offset-sm-3 {
        margin-left: 0;
    }

    .btn-search {
        width: 100%;
    }
}

/* Animation for loading icons */
.glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

.spin-animation {
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
