/* ===================================================================
   PLUGIN STYLES (RC COUPONS - FINAL STABLE DESIGN)
   File: /wp-content/plugins/rc-coupons/assets/app.css
=================================================================== */
.rcc-wrapper {
    max-width: 700px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rcc-card-pro {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #dee2e6;
    box-shadow: 0 12px 28px rgba(44, 62, 80, 0.15), 0 5px 12px rgba(44, 62, 80, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-align: center;
}

.rcc-header {
    margin-bottom: 20px;
}

.rcc-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.rcc-subtitle {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
}

.rcc-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.rcc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.rcc-input-wrapper .fa-ticket {
    position: absolute;
    left: 15px;
    color: #adb5bd;
    font-size: 16px;
}

.rcc-input-wrapper input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px 14px 45px; /* Space for icon */
    border: 1px solid #ced4da;
    border-radius: 12px;
    background-color: #fff;
    font-size: 16px;
    color: #495057;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.rcc-input-wrapper input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.rcc-btn-pro {
    background: #007BFF;
    color: #fff;
    border: none;
    border-bottom: 4px solid #0056b3;
    border-radius: 12px;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease-out;
}

.rcc-btn-pro:hover:not(:disabled) {
    background-color: #0084ff;
}

.rcc-btn-pro:active:not(:disabled) {
    transform: translateY(2px);
    border-bottom-width: 2px;
}

.rcc-btn-pro:disabled {
    background: #adb5bd;
    border-bottom-color: #6c757d;
    cursor: not-allowed;
}

.rcc-feedback-area {
    min-height: 22px;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
}

.rcc-msg.success { color: #16a34a; }
.rcc-msg.error { color: #dc3545; }

.rcc-activity-header {
    text-align: left;
    margin-bottom: 15px;
}

.rcc-activity-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.rcc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.rcc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.rcc-item-icon {
    color: #16a34a;
    font-size: 20px;
}

.rcc-item-details {
    flex-grow: 1;
}

.rcc-item-code {
    font-weight: 700;
    color: #2c3e50;
}

.rcc-item-date {
    font-size: 12px;
    color: #6c757d;
}

.rcc-item-amount {
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
}

.rcc-empty-state {
    padding: 20px;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    color: #6c757d;
    text-align: center;
}

@media (max-width: 600px) {
    .rcc-card-pro { padding: 20px; }
    .rcc-form { grid-template-columns: 1fr; }
    .rcc-btn-pro { width: 100%; }
}