/**
 * FF Gems Automation Styles
 */

/* Player ID field on product page */
.ff-player-id-field {
    margin: 15px 0;
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ff-player-id-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.ff-player-id-field input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ff-player-id-field .description {
    display: block;
    margin-top: 5px;
    color: #666;
    font-style: italic;
}

/* Admin area styles */
.ff-gems-transaction-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.ff-gems-transaction-table th,
.ff-gems-transaction-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.ff-gems-transaction-table th {
    background-color: #f2f2f2;
}

.ff-gems-transaction-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.ff-gems-status-completed {
    background-color: #c6e1c6;
    color: #5b841b;
}

.ff-gems-status-pending {
    background-color: #f8dda7;
    color: #94660c;
}

.ff-gems-status-failed {
    background-color: #eba3a3;
    color: #761919;
}

/* Registration Popup Styles */
.ff-gems-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.ff-gems-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
    z-index: 10000;
}

.ff-gems-popup h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 1.5em;
}

.ff-gems-popup p {
    margin: 0 0 20px;
    color: #666;
    font-size: 1.1em;
}

.ff-gems-popup-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.ff-gems-popup-button:hover {
    background-color: #45a049;
    color: white;
}

.ff-gems-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.ff-gems-popup-close:hover {
    color: #666;
}