.ssh-subscription-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ssh-subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-details {
    position: relative;
}

.card-input {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    height: 40px;
    /*display: flex;*/
    align-items: center;
}

.card-brands {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-brand-logo {
    height: 20px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.card-brand-logo:hover {
    opacity: 1;
}

.cvc-hint {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.cvc-hint-icon {
    height: 24px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    cursor: help;
}

.cvc-hint-icon:hover {
    opacity: 1;
}

#card-errors {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.ssh-submit-button {
    background: #0073aa;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ssh-submit-button:hover {
    background: #005177;
}

.ssh-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.ssh-success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
}

.ssh-login-required {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ssh-login-required a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.ssh-login-required a:hover {
    text-decoration: underline;
}

.ssh-current-plan {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.ssh-current-plan h3 {
    margin: 0 0 1rem 0;
    color: #333;
}

.ssh-current-plan p {
    margin: 0.5rem 0;
    color: #666;
}

.ssh-plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ssh-plan-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s;
}

.ssh-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ssh-plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ssh-plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 1rem;
}

.ssh-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.ssh-plan-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

.ssh-address-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.ssh-address-fields .ssh-form-row {
    margin: 0;
}

.ssh-form-row input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.ssh-days-remaining {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.ssh-select-plan-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.ssh-select-plan-btn.current-plan {
    background: #e9ecef;
    color: #28a745;
    border: 2px solid #28a745;
    cursor: default;
}

.ssh-select-plan-btn.upgrade-plan {
    background: #007bff;
    color: white;
    border: none;
}

.ssh-select-plan-btn.downgrade-plan {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    font-size: 17px;
    line-height: 20px;
    font-family: "IBM Plex Sans Semi Bold";
    font-weight: 600;
}

.ssh-select-plan-btn.select-plan {
    background: #007bff;
    color: white;
    border: none;
}

.ssh-select-plan-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ssh-select-plan-btn.upgrade-plan:hover {
    background: #0056b3;
}

.ssh-select-plan-btn.downgrade-plan:hover {
    background: #f8f9fa;
}

.ssh-select-plan-btn:disabled {
    opacity: 1;
    cursor: default;
} 