/* Pyrost Email Subscribe form styles
   Designed for a dark (black) background theme */

.pyrost-es-wrap {
    width: 100%;
    /*max-width: 560px;*/
}

.pyrost-es-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pyrost-es-row {
    display: flex;
    gap: 12px;
}

.pyrost-es-row--name {
    flex-wrap: wrap;
}

.pyrost-es-row--email {
    flex-wrap: nowrap;
    align-items: stretch;
}

.pyrost-es-input {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 16px;
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.pyrost-es-input::placeholder {
    color: #888;
}

.pyrost-es-input:focus {
    outline: none;
    border-color: #ffffff;
}

.pyrost-es-btn {
    flex-shrink: 0;
    padding: 12px 24px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.pyrost-es-btn:hover,
.pyrost-es-btn:focus {
    background: #e0e0e0;
    outline: none;
}

.pyrost-es-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pyrost-es-message {
    margin: 0;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.pyrost-es-message--success {
    color: #4caf50;
}

.pyrost-es-message--error {
    color: #f44336;
}

/* Narrow screens: stack email + button */
@media (max-width: 480px) {
    .pyrost-es-row--email {
        flex-wrap: wrap;
    }

    .pyrost-es-btn {
        width: 100%;
    }
}
