/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1758134688
Updated: 2025-09-17 20:44:48

*/

/* ======== NOV-BUD — Custom logowanie ======== */

/* Ukrycie niechcianych elementów */
#backtoblog, 
.language-switcher {
  display: none !important;
}

/* Tło całej strony */
body.login {
  background: linear-gradient(135deg, #f5f6fa, #e8ebf7);
  font-family: 'Poppins', sans-serif;
}

/* Logo NOV-BUD */
body.login h1 a {
  background-image: url('/wp-content/uploads/2025/09/logo_novbud.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 200px;
  height: 90px;
  margin: 0 auto 20px;
  display: block;
  pointer-events: none;
}

/* Pudełko logowania */
#login {
  width: 340px;
  padding: 40px 30px 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-top: 4px solid #e63946;
}

/* Pola formularza */
.login form .input, 
input[type="text"], 
input[type="password"] {
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fdfdfd;
  box-shadow: none;
  padding: 10px 12px;
  transition: all 0.3s ease;
}

.login form .input:focus {
  border-color: #1e2a78;
  box-shadow: 0 0 5px rgba(30,42,120,0.3);
}

/* Przyciski logowania */
.wp-core-ui .button-primary {
  background: linear-gradient(90deg, #1e2a78, #e63946);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.wp-core-ui .button-primary:hover {
  background: linear-gradient(90deg, #e63946, #1e2a78);
  transform: scale(1.03);
}

/* Checkbox i link "Nie pamiętasz hasła?" */
.login form label {
  font-size: 14px;
  color: #333;
}

.login #nav a {
  color: #1e2a78 !important;
  font-size: 13px;
  transition: color 0.3s ease;
}

.login #nav a:hover {
  color: #e63946 !important;
}

/* Cień i odstępy na telefonach */
@media (max-width: 480px) {
  #login {
    width: 90%;
    padding: 30px 20px;
  }

  body.login h1 a {
    width: 160px;
    height: 70px;
  }
}

/* === PANEL LOGOWANIA NOVBUD === */
body.login {
  background: linear-gradient(180deg, #1e2a78 0%, #101840 100%) !important;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #fff !important;
}

body.login #login {
  width: 380px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  margin-top: 5%;
}

/* Logo NOVBUD */
body.login h1 a {
  background-image: url('https://novbud.info.pl/wp-content/uploads/2025/09/logo_novbud.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  width: 220px !important;
  height: 80px !important;
  margin: 0 auto 20px !important;
}

/* Pola formularza */
body.login form {
  background: #f8f9fc !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 26px 24px 40px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

body.login label {
  color: #1e2a78 !important;
  font-weight: 600;
}

body.login input[type="text"],
body.login input[type="password"] {
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  box-shadow: none !important;
  padding: 10px !important;
  font-size: 15px !important;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
  border-color: #e63946 !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.25) !important;
}

/* Przycisk zalogowania */
body.login .wp-core-ui .button-primary {
  background: linear-gradient(90deg, #e63946, #1e2a78) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  transition: 0.3s !important;
}

body.login .wp-core-ui .button-primary:hover {
  background: linear-gradient(90deg, #1e2a78, #e63946) !important;
  transform: scale(1.03);
}

/* Linki pod formularzem */
body.login #nav a,
body.login #backtoblog a {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: 0.3s;
}

body.login #nav a:hover,
body.login #backtoblog a:hover {
  color: #e63946 !important;
  text-decoration: underline;
}

/* Drobne dostosowania */
body.login #login_error,
body.login .message,
body.login .success {
  border-radius: 10px !important;
}
