/* Container */
#raw24-manage-teams,
#raw24-manage-contacts {
    max-width: 1000px;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
    padding: 0 20px;
    color: #2c3e50;
}

/* Title */
#raw24-manage-teams h2,
#raw24-manage-contacts h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #34495e;
    font-weight: 700;
}

/* Create New Button */
.raw24-create-new-container {
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.raw24-create-new-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    background-color: #27ae60;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.raw24-create-new-button:hover {
    background-color: #229954;
    color: #fff;
}

.raw24-create-new-button i {
    margin-right: 8px;
}

/* Team Cards */
.raw24-team,
.raw24-team-org {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid rgb(0, 141, 0)
}

.raw24-team h4,
.raw24-team-org h4 {
    font-size: 1.8em;
    color: #34495e;
    margin-bottom: 15px;
    font-weight: 600;
}

.raw24-team p,
.raw24-team-org p {
    font-size: 1em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.raw24-team ul,
.raw24-team-org ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.raw24-team ul li,
.raw24-team-org ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    border-left: 4px solid #2264ad;
}

.raw24-team ul li:last-child,
.raw24-team-org ul li:last-child {
    border-bottom: none;
}

.raw24-team .member-info {
    font-size: 1em;
    color: #2c3e50;
}

.raw24-team .member-actions button,
.delete-team-button {
    background-color: #e74c3c !important;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.raw24-team .member-actions button:hover,
.delete-team-button:hover {
    background-color: #c0392b !important;
}

.raw24-team .team-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.raw24-team .team-actions button {
    width: 40px;
    height: 40px;
    background-color: #2980b9;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px;
    padding: 0;
}

.raw24-team .team-actions button:hover {
    background-color: #1f618d;
}

.raw24-team .add-member-button {
    background-color: #27ae60;
    margin-top: 10px;
}

.raw24-team .add-member-button:hover {
    background-color: #229954;
}

/* Contact management action icons */
.raw24-contact-actions a {
    color: #2980b9;
    margin-right: 8px;
    font-size: 16px;
}

.raw24-contact-actions a:hover {
    color: #1f618d;
}

/* Manage contacts table styling */
.raw24-manage-contacts-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.raw24-manage-contacts-table th,
.raw24-manage-contacts-table td {
    padding: 12px;
    border-bottom: 1px solid #ecf0f1;
    text-align: left;
}

.raw24-manage-contacts-table th {
    background-color: #f9f9f9;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.raw24-manage-contacts-table tr:last-child td {
    border-bottom: none;
}

/* Contact modal form fields */
#raw24-contact-modal p {
    margin-bottom: 15px;
}

#raw24-contact-modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}

#raw24-contact-modal input[type="text"],
#raw24-contact-modal input[type="email"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fafafa;
    color: #2c3e50;
}

#raw24-contact-modal input[type="text"]:focus,
#raw24-contact-modal input[type="email"]:focus {
    outline: none;
    border-color: #0073aa;
    background-color: #fff;
}

/* No Teams Message */
.raw24-no-teams {
    text-align: center;
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Messages */
.raw24-message {
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 20px;
}

.raw24-message.alert-info {
    background-color: #e8f4fd;
    border-left: 5px solid #2196F3;
    color: #155724;
}

.raw24-message.alert-error {
    background-color: #f8d7da;
    border-left: 5px solid #dc3545;
    color: #721c24;
}

#page {
    background-color: #f0f0f0
}

#primary {
    margin: 40px 0;
}

/* Fix for input fields in SweetAlert2 modals */
.swal2-container .swal2-popup .swal2-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
    margin-bottom: 8px !important;
}

.swal2-container .swal2-popup .swal2-input[type="text"],
.swal2-container .swal2-popup .swal2-input[type="email"],
.swal2-container .swal2-popup .swal2-input[type="password"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 8px;
}

.swal2-popup {
    padding: 20px !important;
}

.swal2-popup .swal2-title {
    font-size: 1.5em !important;
}

.swal2-popup .swal2-content {
    font-size: 1em !important;
}

.swal2-popup .swal2-input {
    font-size: 1em !important;
    padding: 10px !important;
}

.raw24-team li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    padding: 8px !important;
    margin-bottom: 4px;
    border-radius: 6px;

}

.swal2-styled.swal2-confirm {
    border: 0;
    border-radius: .25em;
    background: initial;
    background-color: #2778c4;
    color: #fff;
    font-size: 1em;
}

.team-name {
    width: 100%;
}

/* Style the form within the Swal modal */
.swal2-popup .form-group {
    margin-bottom: 15px;
    text-align: left;
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
    border-left: 3px solid #2c3e50
}

.swal2-popup label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.swal2-popup input[type="text"],
.swal2-popup input[type="file"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 0 !important
}

.swal2-popup .current-logo img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

.current-logo {
    text-align: center;
}

.raw24-menu-bar {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    padding: 6px;
    border-radius: 5px;

    gap: 10px
}

.raw24-menu-bar a {
    margin-left: 10px;
    font-size: 16px;
    color: #003558;
    text-decoration: none;
    transition: color 0.3s ease;
    background-color: rgb(240, 240, 240);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

/* Responsive */
@media screen and (max-width: 768px) {
    #raw24-manage-teams {
        padding: 0 10px;
    }

    #raw24-manage-teams h2 {
        font-size: 2em;
    }

    .raw24-team h4 {
        font-size: 1.5em;
    }



    .raw24-team .member-actions {
        margin-top: 10px;
    }



}