﻿/* Shared Agro Modal Styling */
.agro-modal {
    background: #f3f8f0;
    border: 2px solid #4a8b71;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(74, 139, 113, 0.4);
    font-family: 'Poppins', sans-serif;
    animation: fadeInUp 0.4s ease-out;
    overflow: hidden;
}

@keyframes fadeInUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.agro-modal .modal-header {
    background-color: #4a8b71;
    color: white;
    border-bottom: 1px solid #35745a;
    padding: 12px 20px;
}

.agro-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.agro-modal .close {
    color: white;
    background: #35745a;
    border-radius: 50%;
    border: none;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    font-size: 18px;
    position: absolute;
    right: 12px;
    top: 20px;
    cursor: pointer;
}

.agro-modal .modal-body {
    padding: 20px;
}

.agro-modal .form-control {
    border: 1px solid #c6dbcf;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}

.agro-modal .input-group-addon {
    background-color: #e6f1ec;
    color: #4a8b71;
    border: 1px solid #c6dbcf;
    padding: 6px 12px;
    border-right: none;
}

.agro-modal .input-group .form-control {
    border-left: none;
}

.agro-modal label {
    font-size: 13px;
    color: #3d5348;
}

.agro-modal a {
    color: #4a8b71;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.agro-modal a:hover {
    text-decoration: underline;
}

.agro-modal .btn-primary {
    background-color: #4a8b71;
    border-color: #4a8b71;
    font-weight: 600;
    padding: 0px 20px;
    border-radius: 5px;
    font-size: 14px;
}

.agro-modal .btn-primary:hover {
    background-color: #35745a;
    border-color: #35745a;
}

.agro-modal .btn-warning {
    background-color: #fbc109;
    border: none;
    font-weight: 600;
    padding: 0px 18px;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}

.agro-modal .btn-warning:hover {
    background-color: #e0a800;
}
.modal-header .close {
padding:0px !important;
}