/* Supplier Details Card Component */
.supplier-details-card {
    display: flex;
    flex-direction: column;

    padding: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 590px;
}

.supplier-details-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.supplier-details-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 50px;
    color: #0B0427;
    margin: 0;
}

.supplier-details-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Accordion Toggle Rotation */
.supplier-details-card.open .supplier-details-toggle {
    transform: rotate(180deg);
}

/* Supplier Content - Accordion */
.supplier-details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

/* Open State */
.supplier-details-card.open .supplier-details-content {
    max-height: 2000px;
    opacity: 1;
    margin-top: 20px;
}

.supplier-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #0B0427;
    text-align: right;
    margin: 0;
}

/* Contact Phone */
.supplier-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-phone {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #0B0427;
}

.phone-numbers {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #0B0427;
}

.phone-numbers .separator {
    color: #E1E1E1;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-label {
    font-size: 15px;
    font-weight: 400;
    color: #0B0427;
    text-align: right;
}

.social-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.social-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    color: #0B0427;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.social-button:hover {
    border-color: #5454D4;
}

.social-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E1E1E1;
}

.contact-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #0B0427;
    margin: 0;
    text-align: right;
}

.contact-form-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #0B0427;
    margin: 0;
    text-align: right;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
}

.form-row.two-cols .form-input {
    flex: 1;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #0B0427;
    background: #fff;
    text-align: right;
    font-family: inherit;
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #A0A0A0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #5454D4;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2346494F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2020B3;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.form-submit-button:hover {
    background: #1a1a99;
}

.form-submit-button svg {
    transform: rotate(180deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .supplier-details-card {
        padding: 16px;
    }

    .supplier-details-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .form-row.two-cols {
        flex-direction: column;
    }

    .social-buttons {
        justify-content: center;
    }

    .form-submit-button {
        font-size: 16px;
    }
}
