.bs-form-container {
    width: 100%;
    margin: 20px 0;
}

.bs-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bs-form-header {
    background: linear-gradient(135deg, #00a854 0%, #00763b 100%);
    color: #ffffff;
    padding: 25px 30px;
    border-bottom: 3px solid #00763b;
}

.bs-form-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
}

.bs-form {
    padding: 30px;
}

.bs-form .fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.bs-form .field {
    margin-bottom: 20px;
}

.bs-form .field .label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.bs-form .field .control {
    position: relative;
}

.bs-form .input-text,
.bs-form .select,
.bs-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.42857143;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.bs-form .input-text:focus,
.bs-form .select:focus,
.bs-form textarea:focus {
    border-color: #00a854;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 168, 84, 0.1);
}

.bs-form .field.choice {
    margin-bottom: 15px;
}

.bs-form .field.choice .checkbox {
    float: left;
    margin-right: 10px;
    margin-top: 4px;
}

.bs-form .field.choice .label {
    display: block;
    overflow: hidden;
    font-weight: normal;
}

.bs-form .actions-toolbar {
    margin-top: 30px;
    text-align: right;
    border-top: 1px solid #e3e3e3;
    padding-top: 20px;
}

.bs-form .action.submit {
    background-color: #00a854;
    border: 1px solid #00a854;
    color: #fff;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-form .action.submit:hover {
    background-color: #00763b;
    border-color: #00763b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 168, 84, 0.2);
}

.bs-form .action.submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.bs-form .messages {
    margin-bottom: 25px;
}

.bs-form .message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
}

.bs-form .message-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.bs-form .message-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.bs-form .mage-error {
    color: #e02b27;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.bs-form .field._error input,
.bs-form .field._error select,
.bs-form .field._error textarea {
    border-color: #e02b27;
}

.bs-form .radio-inline {
    display: inline-block;
    margin-right: 25px;
    cursor: pointer;
    font-weight: normal;
}

.bs-form .radio-inline input[type="radio"] {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .bs-form-wrapper {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    
    .bs-form {
        padding: 20px 15px;
    }
    
    .bs-form-header {
        padding: 20px 15px;
    }
    
    .bs-form-header h2 {
        font-size: 22px;
    }
    
    .bs-form .actions-toolbar {
        text-align: center;
    }
    
    .bs-form .action.submit {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .bs-form .field-row {
        display: flex;
        gap: 20px;
    }
    
    .bs-form .field-row .field {
        flex: 1;
    }
}

