/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #444;
}

/* Updated Card Styles */
.card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 300px;
    border-radius: 1.25rem !important;
}
  
.card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    border-radius: 1.25rem 1.25rem 1.25rem 0 !important;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 10px;
}

.card-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.card-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Limit to 5 lines */
    -webkit-box-orient: vertical;
}

.card-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
}

.card-price {
    color: #003b95;
    font-weight: bold;
    font-size: 1rem;
    background-color: #f0f8ff;
    padding: 2px 8px;
    border-radius: 5px;
    width: 100px;
    text-align: center;
}

.b2b-price {
    font-size: 1rem;
    font-weight: bold;
    color: #00a335;
    background-color: #f0f8ff;
    padding: 2px 8px;
    border-radius: 5px;
    width: 100px;
    text-align: center;
}

.card-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
}

.card-meta i {
    color: #ff5722;
    margin-right: 5px;
}

/* Button Styles */
a.w-100.d-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff5722;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
}

a.w-100.d-block:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
}

/* Adjusted Layout for Card Items */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Dashboard Styles */
.tml-dashboard {
    max-width: 400px;
    margin: 30px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tml-dashboard-avatar img {
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #ff5722;
}

.tml-dashboard-greeting {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
    font-weight: bold;
}

.tml-dashboard-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tml-dashboard-links li {
    margin-bottom: 10px;
}

.tml-dashboard-links a {
    color: #ff5722;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.tml-dashboard-links a:hover {
    color: #e64a19;
}

/* Edit Profile Form Styles */
.edit-profile-form {
    max-width: 600px;
    margin: 40px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.edit-profile-form h2 {
    font-size: 1.5rem;
    color: #444;
    text-align: center;
    margin-bottom: 20px;
}

.edit-profile-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.edit-profile-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.edit-profile-form input:focus {
    border-color: #ff5722;
    outline: none;
}

.edit-profile-form button {
    width: 100%;
    padding: 10px;
    background-color: #ffc107;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edit-profile-form button:hover {
    background-color: #ffc107;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    text-align: left;
    border-top: 3px solid #ffc107;
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #007bff;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e64a19;
}

/* Login Form Styles */
.tml {
    max-width: 400px;
    margin: 50px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tml-login h1 {
    font-size: 1.8rem;
    color: #444;
    text-align: center;
    margin-bottom: 20px;
}

.tml-label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.tml-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.tml-field:focus {
    border-color: #ff5722;
    outline: none;
}

.tml-checkbox {
    margin-right: 5px;
}

.tml-button {
    width: 100%;
    padding: 10px;
    background-color: #ff5722;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tml-button:hover {
    background-color: #e64a19;
}

.tml-links a {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ff5722;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tml-links a:hover {
    color: #e64a19;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .card {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .card-img-top {
        height: 140px;
    }

    .card-title {
        font-size: 0.8rem;
    }

    .card-price {
        font-size: 0.9rem;
    }

    .b2b-price {
        font-size: 0.8rem;
    }

    footer {
        padding: 20px 10px;
        text-align: left;
    }

    footer h5 {
        font-size: 1rem;
    }

    footer p {
        font-size: 0.8rem;
    }

    .tml {
        padding: 20px;
    }

    .tml-login h1 {
        font-size: 1.5rem;
    }

    .tml-dashboard {
        padding: 20px;
    }

    .tml-dashboard-greeting {
        font-size: 1rem;
    }

    .edit-profile-form {
        padding: 15px;
    }
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.price {
    margin-left: auto;
    display: flex;
    gap: 10px;
} 