/* LA Card Dude Raffle Plugin Styles */
/* Brand Colors: #2672B9 (Blue), #D9252A (Red) */

.lacd-raffle-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 40px;
    border: 3px solid #2672B9;
    border-radius: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 10px 30px rgba(38, 114, 185, 0.1);
    position: relative;
    overflow: hidden;
}

.lacd-raffle-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2672B9 0%, #D9252A 50%, #2672B9 100%);
}

.lacd-form-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.lacd-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lacd-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lacd-raffle-form h2 {
    color: #2672B9;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lacd-description {
    color: #D9252A;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.lacd-form {
    margin-bottom: 30px;
}

.lacd-form-group {
    margin-bottom: 25px;
}

.lacd-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.lacd-label .dashicons {
    color: #D9252A;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.lacd-input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.lacd-input:focus {
    outline: none;
    border-color: #2672B9;
    box-shadow: 0 0 0 3px rgba(38, 114, 185, 0.1);
    transform: translateY(-1px);
}

.lacd-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2672B9 0%, #1e5a8f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(38, 114, 185, 0.3);
}

.lacd-submit-btn:hover {
    background: linear-gradient(135deg, #1e5a8f 0%, #2672B9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 114, 185, 0.4);
}

.lacd-submit-btn:active {
    transform: translateY(0);
}

.lacd-submit-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.lacd-form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.lacd-terms {
    color: #666;
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lacd-terms .dashicons {
    color: #2672B9;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.lacd-form-sidebar {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #D9252A;
    margin-top: 30px;
}

.lacd-prize-info h3 {
    color: #2672B9;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}

.lacd-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lacd-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #555;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.lacd-benefits li:last-child {
    border-bottom: none;
}

.lacd-benefits .dashicons {
    color: #D9252A;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Notice styles */
.lacd-notice {
    padding: 18px 22px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.lacd-notice-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.lacd-notice-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.lacd-notice-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid #ffc107;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.lacd-notice .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Backwards compatibility styles */
.lacd-raffle-form .notice {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.lacd-raffle-form .notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lacd-raffle-form .notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    .lacd-raffle-form {
        margin: 10px;
        padding: 25px;
    }
    
    .lacd-logo {
        width: 60px;
        height: 60px;
    }
    
    .lacd-raffle-form h2 {
        font-size: 22px;
    }
    
    .lacd-description {
        font-size: 14px;
    }
    
    .lacd-input {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .lacd-submit-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .lacd-form-sidebar {
        padding: 20px;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .lacd-raffle-form {
        margin: 5px;
        padding: 20px;
    }
    
    .lacd-form-header {
        margin-bottom: 25px;
    }
    
    .lacd-logo {
        width: 50px;
        height: 50px;
    }
    
    .lacd-raffle-form h2 {
        font-size: 20px;
    }
    
    .lacd-form-group {
        margin-bottom: 20px;
    }
}