/* ============================================
   LEAGUE REGISTRATION STYLES
   ============================================ */

/* League List Styles */
.leagues-list {
    margin: 20px 0;
}

.league-item {
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-left: 4px solid #f36622;
    transition: all 0.3s ease;
}

.league-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.league-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.league-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.league-item h3 a:hover {
    color: #f36622;
}

.league-description {
    color: #666;
    margin-bottom: 10px;
}

.league-count {
    font-size: 14px;
    color: #999;
    margin-bottom: 0;
}

/* Subscribers List */
.subscribers-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.subscribers-list li {
    padding: 10px 15px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-left: 3px solid #f36622;
    transition: all 0.3s ease;
}

.subscribers-list li:hover {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.subscribers-list li a {
    color: #333;
    text-decoration: none;
}

.subscribers-list li a:hover {
    color: #f36622;
}

/* League Info Box */
.league-info-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 25px;
    margin: 25px 0;
}

.league-conditions {
    margin-bottom: 25px;
    line-height: 1.6;
}

.league-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.league-detail-item {
    padding: 12px 15px;
    background: #fff;
    border-left: 3px solid #f36622;
    border-radius: 3px;
}

.league-detail-item strong {
    display: block;
    color: #f36622;
    margin-bottom: 5px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.league-detail-item span {
    color: #333;
    font-size: 16px;
}

/* Error Message Styling */
.league-error-message {
    text-align: center;
    padding: 40px 20px;
}

.league-error-message .error-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.league-error-message p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* League Status Colors */
.league-status-full {
    background: #fff3cd;
    border-color: #ffc107;
}

.league-status-closed {
    background: #f8d7da;
    border-color: #dc3545;
}

.league-status-not_started {
    background: #d1ecf1;
    border-color: #17a2b8;
}

.league-status-open {
    background: #f9f9f9;
    border-color: #e0e0e0;
}

/* Registration Form Styling */
.league-registration-form {
    background: #fff;
    border: 2px solid #f36622;
    border-radius: 5px;
    padding: 30px;
    margin: 30px 0;
}

.league-registration-form h3 {
    color: #f36622;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
}

.league-registration-form .form-submit {
    text-align: center;
    margin-top: 20px;
}

.league-registration-form input[type="text"],
.league-registration-form input[type="email"],
.league-registration-form textarea,
.league-registration-form select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 15px;
    font-size: 16px;
}

.league-registration-form input[type="submit"],
.league-registration-form button[type="submit"] {
    background: #f36622;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.league-registration-form input[type="submit"]:hover,
.league-registration-form button[type="submit"]:hover {
    background: #007ab8;
}

/* Multi-step Registration */
.league-registration-wrapper {
    position: relative;
}

.registration-step {
    width: 100%;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.step-indicator .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step-indicator .step.active {
    background: #f36622;
    color: #fff;
}

.step-indicator .step.completed {
    background: #28a745;
    color: #fff;
}

.step-indicator .step-line {
    width: 80px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
}

.step-info {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Success Message */
.success-message {
    text-align: center;
}

.success-message .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    animation: scaleIn 0.5s ease-out;
}

.success-message .success-text {
    font-size: 24px;
    color: #28a745;
    font-weight: bold;
    margin: 20px 0 10px;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Payment Form Container */
#payment-form-container {
    margin-top: 20px;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* RETINA */
@media screen and (min-width: 1440px) {
}

@media screen and (max-width: 1400px) {
}

/* DESKTOP 0 */
@media screen and (max-width: 1680px) {
}

/* DESKTOP 1 */
@media screen and (max-width: 1580px) {
}

/* DESKTOP 2 */
@media screen and (max-width: 1480px) {
}

/* DESKTOP 3 */
@media screen and (max-width: 1380px) {
}

/* DESKTOP 4 */
@media screen and (max-width: 1320px) {
}

/* DESKTOP 5 */
@media screen and (max-width: 1200px) {
}

/* EXCEPTION 1 */
@media screen and (max-width: 1570px) and (min-width: 981px) {
}

/* IPAD LANDSCAPE */
@media screen and (max-width: 1080px) {
}

/* DIVI BreakPoint */
@media screen and (min-width: 981px) {
}
@media screen and (max-width: 980px) {
}

/* Generic Tablets */
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 700px) {
}

/* IPHONE 6+ LANDSCAPE */
@media only screen and (max-width: 736px) {
}

/* IPHONE 6 LANDSCAPE */
@media only screen and (max-width: 667px) {
}

/* HTC, GALAXY LANDSCAPE */
@media only screen and (max-width: 640px) {
}

/*IPHONE 5 LANDSCAPE */
@media only screen and (max-width: 568px) {
}
@media only screen and (max-width: 520px) {
}

/* IPHONE 4 LANDSCAPE */
@media only screen and (max-width: 480px) {
}

/* IPHONE 6+ PORTRAIT */
@media only screen and (max-width: 414px) {
}

/* IPHONE 6 PORTRAIT */
@media only screen and (max-width: 375px) {
}

/* HTC, GALAXY PORTRAIT */
@media only screen and (max-width: 360px) {
}

/* IPHONE 4, IPHONE 5 PORTRAIT */
@media only screen and (max-width: 320px) {
}

/*--------------------------------- TARGET ONLY SPECIFIC DEVICES ------------------------------------------*/
/* TARGET IPAD */
@media only screen and (max-width: 768px) and (min-width: 767px) {
}
@media only screen and (max-width: 1024px) and (min-width: 1023px) {
}

/* TARGET iPHONE 5S */
@media only screen and (device-width: 640px) and (device-height: 1136px) and (orientation: portrait) {
}
@media screen and (max-device-width: 1136px) and (orientation: landscape) and (device-aspect-ratio: 40/71) {
}

/* TARGET IPHONE 5 */
@media only screen and (device-width: 568px) and (orientation: landscape) {
}
@media only screen and (device-width: 320px) and (orientation: portrait) {
}

/* TARGET IPHONE 4 */
@media only screen and (device-width: 320px) and (orientation: portrait) {
}
@media only screen and (device-width: 480px) and (orientation: landscape) {
}

/* TARGET HTC ONE AND GALAXY S5 */
@media only screen and (device-width: 360px) and (orientation: portrait) {
}
@media only screen and (device-width: 640px) and (orientation: landscape) {
}

/* TARGET IPHONE 6 */
@media only screen and (device-width: 375px) and (orientation: portrait) {
}
@media only screen and (device-width: 667px) and (orientation: landscape) {
}

/* TARGET IPHONE 6+ */
@media only screen and ( device-width: 414px ) and ( orientation: portrait ) {
}
@media only screen and ( device-width: 736px ) and ( orientation: landscape ) {
}