/* Styles for Login Download V2 Plugin */
.login-download-v2-area {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Style for the main download box */
.login-download-v2-box {
  border: 1px solid #e9ecef;
  padding: 20px;
  border-radius: 6px;
  background-color: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.login-download-v2-box h4 {
    font-size: 1.1em;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
    font-weight: 600;
    color: #343a40;
}

/* Container for download items - Flexbox layout */
.login-download-v2-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: stretch;
}

/* Individual download item (link + code) */
.login-download-v2-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #ffffff;
    padding: 12px 18px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    /* flex-grow: 1; */ /* Temporarily remove to enforce 50% basis */
    flex-basis: calc(50% - 8px); /* Roughly two columns, accounting for gap */
    min-width: 220px; /* Minimum width before wrapping */
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
}

.login-download-v2-item:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.login-download-v2-link {
    background-color: #007bff;
    color: #ffffff !important;
    padding: 8px 16px;
    font-size: 0.95em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.5;
    margin: 0;
}

.login-download-v2-link:hover {
    background-color: #0056b3;
    color: #ffffff !important;
    text-decoration: none;
}

/* Style for the code/password span */
.login-download-v2-code {
    font-size: 0.9em;
    color: #6c757d;
    white-space: nowrap;
    line-height: 1.5;
    margin: 0;
}

.login-download-v2-code .code-value {
    font-weight: 600;
    color: #e83e8c;
    background-color: #f8f9fa;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 4px;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    border: 1px solid #dee2e6;
}

/* Style for the login prompt area */
.login-download-v2-login-prompt {
    border: 1px dashed #adb5bd;
    background-color: #e9ecef;
    border-radius: 5px;
    padding: 15px 20px;
    text-align: center;
}

.login-download-v2-login-prompt p {
    line-height: 1.6;
    margin-bottom: 0;
    color: #495057;
}

/* Hide the blurry background effect */
.login-download-v2-hide {
    display: inline;
    background: none;
    padding: 0;
    text-align: inherit;
    position: static;
    user-select: text;
    line-height: inherit;
    border: none;
    color: inherit;
}

.login-download-v2-login-button a {
    position: relative;
    font-style: normal;
    cursor: pointer;
    color: #007bff;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-weight: 600;
    text-decoration: none;
}

.login-download-v2-login-button a:hover {
     text-decoration: underline;
     background: none;
     color: #0056b3;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .login-download-v2-items {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .login-download-v2-item {
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .login-download-v2-link {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

     .login-download-v2-code {
         margin-left: 0;
     }
} 