
/* Breadcrumb */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    float: none !important;
    clear: both;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffd700;
}

/* Main Container */
#dc {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Remove old table styles */
#dc table {
    width: 100%;
    border: none;
}

#dc td {
    padding: 0;
}

/* Page Header Section */
.default h1 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 700;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.default > br:first-of-type {
    display: none;
}

.default h2 {
    font-size: 1.8rem;
    color: #667eea;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.default h2 a {
    color: inherit;
    text-decoration: none;
}

.default p, .default > * {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
}

.default strong {
    color: #1a202c;
}

.default font[color="#FF0000"],
.default Font[color="#FF0000"] {
    color: #e53e3e !important;
    font-weight: 600;
}

.default font[color="#0099FF"] {
    color: #3182ce !important;
    font-weight: 600;
}

/* Form Container */
.taborder, .tableborder {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none !important;
}

.link {
    border: none !important;
}

/* Section Headers */
td.default strong,
.default > strong {
    font-size: 1.5rem;
    color: #667eea;
    display: block;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

td[bgcolor="#ECECD9"] {
    background: transparent !important;
    padding: 0 !important;
}

td[bgcolor="#ECECD9"] .default strong {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

/* Form Fields */
td[bgcolor="#FBFBF7"] {
    background: transparent !important;
    padding: 1rem 0 !important;
}

td[align="right"] {
    text-align: left !important;
    padding-right: 1rem;
}

td[align="right"] b {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

/* Form Controls */
.gradient, 
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.gradient:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select {
    cursor: pointer;
}

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

textarea[readonly] {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    max-height: 150px;
    overflow-y: auto;
}

/* File Upload */
input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #cbd5e0;
    background: #f7fafc;
    cursor: pointer;
}

input[type="file"]:hover {
    background: #edf2f7;
    border-color: #667eea;
}

/* Checkbox */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-right: 0.5rem;
}

/* Required Indicator */
font[color="#FF0000"] {
    color: #e53e3e !important;
    margin-right: 4px;
}

/* Submit Button */
input[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Note Boxes */
td[bgcolor="#FFFBDF"],
.ver11 {
    background: #fffbeb !important;
    border-left: 4px solid #f59e0b;
    padding: 1rem !important;
    border-radius: 8px;
    margin: 1rem 0;
}

.ver11 strong,
.breadcrumb {
    color: #92400e;
}

/* Sidebar Info Boxes */
.brands {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 600;
    padding: 1rem !important;
}

td[bgcolor="#F7F7F7"],
td[bgcolor="#FCFCFC"],
td[bgcolor="#F4F4F4"] {
    background: white !important;
    padding: 1.5rem !important;
}

.grey_border {
    border: none !important;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Card Preview Images */
.shop_details img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Error Messages */
.content font[color="red"],
font[color="red"] {
    color: #e53e3e !important;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

/* Center aligned content */
center {
    background: #fee2e2;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
    margin: 1rem 0;
}

center font {
    color: #991b1b !important;
}

/* Know More Links */
.know_more a,
.titels a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.know_more a:hover,
.titels a:hover {
    color: #764ba2;
}

/* Responsive Tables */
@media (max-width: 1024px) {
    #dc {
        padding: 0 1rem;
    }
    
    .taborder, .tableborder {
        padding: 1.5rem;
    }
    
    td[align="right"] {
        display: block;
        text-align: left !important;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .default h1 {
        font-size: 2rem;
        padding: 1.5rem;
    }
    
    .default h2 {
        font-size: 1.5rem;
    }
    
    .taborder, .tableborder {
        padding: 1rem;
    }
    
    /* Stack form layout on mobile */
    table table {
        display: block;
    }
    
    table table tr,
    table table td {
        display: block;
        width: 100% !important;
    }
}

/* Hide old styling elements */
img[src*="round_top.gif"],
img[src*="round_bottom.gif"] {
    display: none;
}

.round_bottom {
    display: none;
}

/* Background adjustments */
td[bgcolor="#a8dadc"] {
    background: transparent !important;
}

td[bgcolor="#FFFFFF"] {
    background: transparent !important;
}

/* Small text adjustments */
.content small,
small {
    color: #718096;
    margin-top: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

/* Form row spacing */
.link tr {
    margin-bottom: 1rem;
}

/* Image alignment fixes */
img[align="left"] {
    margin-right: 1rem;
}

/* Valign fixes */
td[valign="top"] {
    vertical-align: top;
}