.emrc-form {
    background-color: #1A1A1A;
    color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.emrc-form h3 {
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 2px solid #FFD612;
    padding-bottom: 10px;
}

.emrc-form label {
    display: block;
    margin: 18px 0 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #FFD612;
    letter-spacing: 0.8px;
}

.emrc-form input,
.emrc-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    background: #f4f4f4;
    color: #333;
    font-size: 15px;
    margin-bottom: 10px;
}

.emrc-form button {
    background: #FFD612;
    color: #000;
    padding: 12px 26px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 12px;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.emrc-form button:hover {
    background: #ffffff;
    color: #20368E;
    box-shadow: 0 0 12px #FFD612;
}

#emrc-result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}

.emrc-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #ffffff;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.emrc-table th,
.emrc-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.emrc-table th {
    background-color: #20368E;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}

.emrc-highlight {
    background-color: #FFD612;
    color: #000000;
    font-weight: bold;
}

/* Modal Styles */
.emrc-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.emrc-modal-content {
    background-color: #1A1A1A;
    color: #ffffff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.emrc-modal-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #FFD612;
    border-bottom: 2px solid #FFD612;
    padding-bottom: 10px;
}

.emrc-modal-content input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: none;
    border-radius: 8px;
    background: #f4f4f4;
    color: #333;
    font-size: 16px;
    box-sizing: border-box;
}

.emrc-modal-content button {
    background: #FFD612;
    color: #000;
    padding: 12px 26px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.emrc-modal-content button:hover {
    background: #ffffff;
    color: #20368E;
    box-shadow: 0 0 12px #FFD612;
}

.emrc-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.emrc-close:hover,
.emrc-close:focus {
    color: #FFD612;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .emrc-form {
        padding: 20px;
        margin: 10px;
    }
    
    .emrc-form button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .emrc-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}

/* Shop link styles */
.emrc-shop-link {
    display: inline-block;
    background: #20368E;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
}

.emrc-shop-link:hover {
    background: #FFD612;
    color: #000000 !important;
    text-decoration: none;
}

/* Admin table styles */
#battery-links-table {
    margin: 20px 0;
}

#battery-links-table th {
    background: #f1f1f1;
    padding: 10px;
    font-weight: bold;
}

#battery-links-table td {
    padding: 8px;
    vertical-align: middle;
}

#battery-links-table input {
    margin: 0;
}